My zsh configuration
git clone https://mcol.xyz/code/zshrc
Log | Files | Refs | Submodules | README

commit e8f266a30beecdfee1ae633a3d84841b415180b7
parent f27a43c99abf22982889ab02b96ca2613a0f7c3d
Author: mcol <mcol@posteo.net>
Date:   Sun, 24 Mar 2019 00:40:25 +0000

updated aliases

Diffstat:
Maliases | 10++++------
Mrc.conf | 2+-
Mzshrc | 1-
3 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/aliases b/aliases @@ -1,6 +1,6 @@ # # General aliases go here -# Machine-specific aliases go in $HOME/.aliases +# Machine-specific aliases go in $HOME/.config/aliases # # misc @@ -40,12 +40,11 @@ alias sscc='sudo systemctl cat' alias eduroam='nmcli con up eduroam' alias pinga='ping archlinux.org' alias ip="ip -c" -alias ufw="sudo ufw" alias dns="cat /etc/resolv.conf" -alias pinga='ping archlinux.org' # launchers alias ra="ranger" +alias nc='ncmpcpp' alias vi="vim" alias tmux="tmux -u" alias ta="tmux attach" @@ -64,12 +63,11 @@ alias dif="git diff" # tools alias usync="rsync -avPzh --delete" -alias cl='clear; cd $HOME' -alias sc="sudo systemctl" +alias cl='clear' alias removespaces="for run in {1..20}; do; find . -type f -name \"* *\" -exec rename \" \" \"_\" {} \; ; done" # quick edits -alias modalia='vim $HOME/.aliases && source $HOME/.aliases' +alias modalia='vim $HOME/.config/aliases && source $HOME/.config/aliases' alias modaliaz='vim $ZSH/aliases && source $ZSH/aliases' alias vimrc='vim $HOME/.vim/bundle/vim-misc/vimrc' alias vimkeys='vim $HOME/.vim/bundle/vim-misc/plugin/keybindings.vim' diff --git a/rc.conf b/rc.conf @@ -634,6 +634,7 @@ map g/ cd / map gS cd /etc/systemd/system map gg cd ~/git +map gC cd ~/git/custom-packages map gc cd ~/.config map gx cd ~/.Xresources.d map gm cd ~/media @@ -646,7 +647,6 @@ map gf cd ~/work/analysis/Figures map gW cd ~/work/research/research.wiki map gr cd ~/work/analysis/rochefort-tools map gv cd ~/.vim -map gC cd ~/documents/C map gD cd ~/Downloads map gz cd ~/.zsh map gB cd ~/.local/share/Trash/files diff --git a/zshrc b/zshrc @@ -39,7 +39,6 @@ done so () { [[ -e $1 ]] && source $1 } so $ZSH/aliases # general aliases -so $HOME/.aliases # machine-specific aliases so $HOME/.config/aliases # machine-specific aliases ZSH_THEME="ban"