kernel configs on folder. profile now centralized.
This commit is contained in:
parent
94b36f0820
commit
ed3615de99
|
@ -140,6 +140,7 @@ mark h ~/
|
|||
" %D the other window directory name.
|
||||
" %m run the command in a menu window
|
||||
|
||||
command! vc vim $HOME/.vimrc
|
||||
command! df df -h %m 2> /dev/null
|
||||
command! diff vim -d %f %F
|
||||
command! zip $TSCRIPTS/zip.sh %f
|
||||
|
|
48
.mkshrc
48
.mkshrc
|
@ -1,26 +1,28 @@
|
|||
export PATH="$PATH:$HOME/bin:$HOME/.local/bin"
|
||||
export HOSTNAME="gentoo"
|
||||
export SCRIPTS="$HOME/scripts"
|
||||
export TSCRIPTS="$HOME/termscripts"
|
||||
export HISTFILE="$HOME/.mksh_history"
|
||||
export WALLPAPERS="$HOME/Pictures/wallpapers"
|
||||
export SCREENSHOTS="$HOME/Pictures/Screenshots"
|
||||
export EDITOR="vim"
|
||||
export VIDEO_FORMATS="mp4,mkv,avi,ogv,webm,divx,wmv,flv"
|
||||
export AUDIO_FORMATS="mp3,ogg,vorbis,opus,aac,wav,3gp,mpg,flac"
|
||||
export VIDEOPLAYER="mpv"
|
||||
export AUDIOPLAYER="cmus-remote"
|
||||
export TERMINAL="st"
|
||||
export BROWSER="palemoon-bin"
|
||||
export MUSIC="$HOME/Music/music"
|
||||
export PASSWORD_STORE_DIR="$HOME/.password-store"
|
||||
export ANDROID_MOUNTPOINT="$HOME/Android"
|
||||
export BRIGHTNESS="0.9"
|
||||
export SUDO_ASKPASS="/usr/bin/x11-ssh-askpass"
|
||||
export TRASH="$HOME/.local/trash:$HOME/.local/share/vifm/Trash"
|
||||
export DEVICES_FOLDER="/media"
|
||||
export FAV_STREAMERS="$HOME/fav_streamers"
|
||||
export LC_ALL=en_US.utf8
|
||||
# export PATH="$PATH:$HOME/bin:$HOME/.local/bin"
|
||||
# export HOSTNAME="gentoo"
|
||||
# export SCRIPTS="$HOME/scripts"
|
||||
# export TSCRIPTS="$HOME/termscripts"
|
||||
# export HISTFILE="$HOME/.mksh_history"
|
||||
# export WALLPAPERS="$HOME/Pictures/wallpapers"
|
||||
# export SCREENSHOTS="$HOME/Pictures/Screenshots"
|
||||
# export EDITOR="vim"
|
||||
# export VIDEO_FORMATS="mp4,mkv,avi,ogv,webm,divx,wmv,flv"
|
||||
# export AUDIO_FORMATS="mp3,ogg,vorbis,opus,aac,wav,3gp,mpg,flac"
|
||||
# export VIDEOPLAYER="mpv"
|
||||
# export AUDIOPLAYER="cmus-remote"
|
||||
# export TERMINAL="st"
|
||||
# export BROWSER="palemoon-bin"
|
||||
# export MUSIC="$HOME/Music/music"
|
||||
# export PASSWORD_STORE_DIR="$HOME/.password-store"
|
||||
# export ANDROID_MOUNTPOINT="$HOME/Android"
|
||||
# export BRIGHTNESS="0.9"
|
||||
# export SUDO_ASKPASS="/usr/bin/x11-ssh-askpass"
|
||||
# export TRASH="$HOME/.local/trash:$HOME/.local/share/vifm/Trash"
|
||||
# export DEVICES_FOLDER="/media"
|
||||
# export FAV_STREAMERS="$HOME/fav_streamers"
|
||||
# export LC_ALL=en_US.utf8
|
||||
|
||||
source .profile
|
||||
|
||||
# custom prompt see http://comments.gmane.org/gmane.os.miros.mksh/126
|
||||
# USER
|
||||
|
|
12
.profile
12
.profile
|
@ -1,4 +1,4 @@
|
|||
ENV=$HOME/.mkshrc; export $ENV
|
||||
# ENV=$HOME/.mkshrc; export $ENV
|
||||
export PATH="$PATH:$HOME/bin:$HOME/.local/bin"
|
||||
export HOSTNAME="gentoo"
|
||||
export SCRIPTS="$HOME/scripts"
|
||||
|
@ -22,3 +22,13 @@ export TRASH="$HOME/.local/trash:$HOME/.local/share/vifm/Trash"
|
|||
export DEVICES_FOLDER="/media"
|
||||
export FAV_STREAMERS="$HOME/fav_streamers"
|
||||
export LC_ALL=en_US.utf8
|
||||
export KERNEL_CONFIGS="$HOME/kernel-configs"
|
||||
|
||||
# ALIASES
|
||||
alias ll='lsd --group-dirs first --date relative -alh'
|
||||
alias lll='lsd --date relative --group-dirs first -lh'
|
||||
alias ls='lsd'
|
||||
alias l='/bin/ls'
|
||||
alias sc="mksh $SCRIPTS/script-run-fzf.sh"
|
||||
alias se="mksh $SCRIPTS/script-edit-fzf.sh"
|
||||
alias config='/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME'
|
||||
|
|
33
.vimrc
33
.vimrc
|
@ -28,22 +28,32 @@ Plug 'joshdick/onedark.vim'
|
|||
Plug 'morhetz/gruvbox'
|
||||
Plug 'vim-scripts/ReplaceWithRegister'
|
||||
Plug 'christoomey/vim-system-copy'
|
||||
Plug 'python-mode/python-mode', { 'branch': 'develop' }
|
||||
Plug 'tikhomirov/vim-glsl'
|
||||
" Plug 'python-mode/python-mode', { 'branch': 'develop' }
|
||||
" Plug 'tikhomirov/vim-glsl'
|
||||
" Plug 'vim-scripts/clips.vim'
|
||||
Plug 'justinmk/vim-syntax-extra'
|
||||
" Pending tasks list
|
||||
" " Pending tasks list
|
||||
" Plug 'fisadev/FixedTaskList.vim' ", { 'for': 'python' }
|
||||
" " Python and other languages code checker
|
||||
" Plug 'scrooloose/syntastic' ", { 'for': 'python' }
|
||||
" " " Python and other languages code checker
|
||||
" Plug 'scrooloose/syntastic' , { 'for': 'python' }
|
||||
" " Indent text object
|
||||
" Plug 'michaeljsmith/vim-indent-object' ", { 'for': 'python' }
|
||||
" Plug 'michaeljsmith/vim-indent-object' , { 'for': 'python' }
|
||||
" " Indentation based movements
|
||||
" Plug 'jeetsukumaran/vim-indentwise' ", { 'for': 'python' }
|
||||
" Python autocompletion, go to definition.
|
||||
"Plug 'davidhalter/jedi-vim', { 'for': 'python' }
|
||||
" Plug 'jeetsukumaran/vim-indentwise' , { 'for': 'python' }
|
||||
" " Python autocompletion, go to definition.
|
||||
" Plug 'davidhalter/jedi-vim', { 'for': 'python' }
|
||||
" " Better autocompletion
|
||||
" Plug 'Shougo/neocomplcache.vim' ", { 'for': 'python' }
|
||||
" Plug 'Shougo/neocomplcache.vim' , { 'for': 'python' }
|
||||
|
||||
" Haskell prettifiers
|
||||
Plug 'jaspervdj/stylish-haskell'
|
||||
Plug 'chrisdone/hindent'
|
||||
" Errors highlighting
|
||||
Plug 'dense-analysis/ale'
|
||||
" Syntax highlighting
|
||||
Plug 'neovimhaskell/haskell-vim'
|
||||
" noseke de que se actualiza solo haskell
|
||||
Plug 'bitc/vim-hdevtools'
|
||||
|
||||
call plug#end()
|
||||
|
||||
|
@ -108,6 +118,9 @@ let g:autotagTagsFile=".tags"
|
|||
" JAVA
|
||||
command! MakeTags !ctags -R .
|
||||
|
||||
" Recompile groff document on write
|
||||
autocmd BufWritePost *.ms | :!groff -ms %:p -ep -T pdf > %:r.pdf
|
||||
|
||||
" C
|
||||
" set termguicolors
|
||||
set t_Co=256
|
||||
|
|
73
.zshrc
73
.zshrc
|
@ -10,11 +10,11 @@ export ZSH="/home/initega/.oh-my-zsh"
|
|||
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
|
||||
ZSH_THEME="bira"
|
||||
plugins=(
|
||||
zsh-syntax-highlighting
|
||||
git
|
||||
cp
|
||||
z
|
||||
zsh-autosuggestions
|
||||
# zsh-syntax-highlighting
|
||||
# git
|
||||
# cp
|
||||
# z
|
||||
# zsh-autosuggestions
|
||||
)
|
||||
|
||||
# Set list of themes to pick from when loading at random
|
||||
|
@ -81,39 +81,40 @@ source $ZSH/oh-my-zsh.sh
|
|||
bindkey -v
|
||||
precmd() { RPROMPT="" }
|
||||
|
||||
export PATH="$PATH:$HOME/bin:$HOME/.local/bin"
|
||||
export HOSTNAME="gentoo"
|
||||
export SCRIPTS="$HOME/scripts"
|
||||
export TSCRIPTS="$HOME/termscripts"
|
||||
export WALLPAPERS="$HOME/Pictures/wallpapers"
|
||||
export SCREENSHOTS="$HOME/Pictures/Screenshots"
|
||||
export EDITOR="vim"
|
||||
export VIDEO_FORMATS="mp4,mkv,avi,ogv,webm,divx,wmv,flv"
|
||||
export AUDIO_FORMATS="mp3,ogg,vorbis,opus,aac,wav,3gp,mpg,flac"
|
||||
export VIDEOPLAYER="mpv"
|
||||
export AUDIOPLAYER="cmus-remote"
|
||||
export TERMINAL="st"
|
||||
export BROWSER="firefox-bin"
|
||||
export MUSIC="$HOME/Music/music"
|
||||
export PASSWORD_STORE_DIR="$HOME/.password-store"
|
||||
export ANDROID_MOUNTPOINT="$HOME/Android"
|
||||
export BRIGHTNESS="0.9"
|
||||
export SUDO_ASKPASS="/usr/bin/x11-ssh-askpass"
|
||||
export TRASH="$HOME/.local/trash:$HOME/.local/share/vifm/Trash"
|
||||
export DEVICES_FOLDER="/media"
|
||||
export FAV_STREAMERS="$HOME/fav_streamers"
|
||||
export LC_ALL=en_US.utf8
|
||||
#export PATH="$PATH:$HOME/bin:$HOME/.local/bin"
|
||||
#export HOSTNAME="gentoo"
|
||||
#export SCRIPTS="$HOME/scripts"
|
||||
#export TSCRIPTS="$HOME/termscripts"
|
||||
#export WALLPAPERS="$HOME/Pictures/wallpapers"
|
||||
#export SCREENSHOTS="$HOME/Pictures/Screenshots"
|
||||
#export EDITOR="vim"
|
||||
#export VIDEO_FORMATS="mp4,mkv,avi,ogv,webm,divx,wmv,flv"
|
||||
#export AUDIO_FORMATS="mp3,ogg,vorbis,opus,aac,wav,3gp,mpg,flac"
|
||||
#export VIDEOPLAYER="mpv"
|
||||
#export AUDIOPLAYER="cmus-remote"
|
||||
#export TERMINAL="st"
|
||||
#export BROWSER="firefox-bin"
|
||||
#export MUSIC="$HOME/Music/music"
|
||||
#export PASSWORD_STORE_DIR="$HOME/.password-store"
|
||||
#export ANDROID_MOUNTPOINT="$HOME/Android"
|
||||
#export BRIGHTNESS="0.9"
|
||||
#export SUDO_ASKPASS="/usr/bin/x11-ssh-askpass"
|
||||
#export TRASH="$HOME/.local/trash:$HOME/.local/share/vifm/Trash"
|
||||
#export DEVICES_FOLDER="/media"
|
||||
#export FAV_STREAMERS="$HOME/fav_streamers"
|
||||
#export LC_ALL=en_US.utf8
|
||||
|
||||
#
|
||||
# ALIASES
|
||||
alias ll='lsd --group-dirs first --date relative -alh'
|
||||
alias lll='lsd --date relative --group-dirs first -lh'
|
||||
alias ls='lsd'
|
||||
alias l='/bin/ls'
|
||||
alias sc="mksh $SCRIPTS/script-run-fzf.sh"
|
||||
alias se="mksh $SCRIPTS/script-edit-fzf.sh"
|
||||
alias config='/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME'
|
||||
##
|
||||
## ALIASES
|
||||
#alias ll='lsd --group-dirs first --date relative -alh'
|
||||
#alias lll='lsd --date relative --group-dirs first -lh'
|
||||
#alias ls='lsd'
|
||||
#alias l='/bin/ls'
|
||||
#alias sc="mksh $SCRIPTS/script-run-fzf.sh"
|
||||
#alias se="mksh $SCRIPTS/script-edit-fzf.sh"
|
||||
#alias config='/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME'
|
||||
|
||||
source $HOME/.profile
|
||||
|
||||
# User configuration
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,18 +1,18 @@
|
|||
#!/bin/sh
|
||||
|
||||
origin="$(pwd)"
|
||||
cd "$SCREENSHOTS"
|
||||
# origin="$(pwd)"
|
||||
# cd "$SCREENSHOTS"
|
||||
|
||||
eguna="$(date -I)"
|
||||
|
||||
argazki_izena="Screenshot-$eguna"
|
||||
|
||||
gaurko_kop="$(ls -l | grep "$argazki_izena" | wc -l)"
|
||||
gaurko_kop="$(ls -l "$SCREENSHOTS" | grep "$argazki_izena" | wc -l)"
|
||||
|
||||
if [ "$gaurko_kop" -eq "0" ]; then
|
||||
import "$argazki_izena.png"
|
||||
import "$SCREENSHOTS/$argazki_izena.png"
|
||||
else
|
||||
import "$argazki_izena-$gaurko_kop.png"
|
||||
import "$SCREENSHOTS/$argazki_izena-$gaurko_kop.png"
|
||||
fi
|
||||
|
||||
cd "$origin"
|
||||
# cd "$origin"
|
||||
|
|
|
@ -1,18 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
origin="$(pwd)"
|
||||
cd "$SCREENSHOTS"
|
||||
|
||||
eguna="$(date -I)"
|
||||
|
||||
argazki_izena="Screenshot-$eguna"
|
||||
|
||||
gaurko_kop="$(ls -l | grep "$argazki_izena" | wc -l)"
|
||||
gaurko_kop="$(ls -l "$SCREENSHOTS" | grep "$argazki_izena" | wc -l)"
|
||||
|
||||
if [ "$gaurko_kop" -eq "0" ]; then
|
||||
import -window root "$argazki_izena.png"
|
||||
import -window root "$SCREENSHOTS/$argazki_izena.png"
|
||||
else
|
||||
import -window root "$argazki_izena-$gaurko_kop.png"
|
||||
import -window root "$SCREENSHOTS/$argazki_izena-$gaurko_kop.png"
|
||||
fi
|
||||
|
||||
cd "$origin"
|
||||
|
|
|
@ -1,18 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
origin="$(pwd)"
|
||||
cd "$SCREENSHOTS"
|
||||
|
||||
eguna="$(date -I)"
|
||||
|
||||
argazki_izena="Screenshot-$eguna"
|
||||
|
||||
gaurko_kop="$(ls -l | grep "$argazki_izena" | wc -l)"
|
||||
gaurko_kop="$(ls -l "$SCREENSHOTS" | grep "$argazki_izena" | wc -l)"
|
||||
|
||||
if [ "$gaurko_kop" -eq "0" ]; then
|
||||
import "$argazki_izena.png" -window current
|
||||
import "$SCREENSHOTS/$argazki_izena.png" -window current
|
||||
else
|
||||
import "$argazki_izena-$gaurko_kop.png" -window current
|
||||
import "$SCREENSHOTS/$argazki_izena-$gaurko_kop.png" -window current
|
||||
fi
|
||||
|
||||
cd "$origin"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
next_number="$(eselect kernel list | wc -l)" &&
|
||||
|
||||
old_config="/home/initega/kernel-config-`uname -r`" &&
|
||||
old_config="$KERNEL_CONFIGS/kernel-config-`uname -r`" &&
|
||||
|
||||
cp /usr/src/linux/.config $old_config &&
|
||||
emerge --ask --update --deep --with-bdeps=y --newuse \
|
||||
|
|
Loading…
Reference in New Issue