all repos — dotfiles @ a20e58da6bcb7e7f77aae7f0d99db9e3b9bd2cb2

my *nix dotfiles

refactor(zsh): move aliases to a new .aliases file

Signed-off-by: Anirudh <icyph0x@pm.me>
Anirudh icyph0x@pm.me
Fri, 12 Oct 2018 18:41:55 +0530
commit

a20e58da6bcb7e7f77aae7f0d99db9e3b9bd2cb2

parent

5abebc0f8e13a089fbb2ac03c0cafac5c1a45877

2 files changed, 20 insertions(+), 18 deletions(-)

jump to
A zsh/.aliases

@@ -0,0 +1,19 @@

+#!/usr/bin/zsh + +alias scrot="~/bin/scrot.sh" +alias icyinfo="~/bin/icyinfo.sh" +alias gah='sudo $(fc -ln -1)' +alias nvime='nvim ~/.config/nvim/init.vim' +alias up="~/bin/icyup.sh" +alias envac="source .env/bin/activate" +alias vim="nvim" +alias vi="nvim" +alias sxiv="sxiv -b" +alias ls="exa" +alias la="exa -al" +alias socks="ssh -D 8008 boop" +alias vpn="sudo openvpn --config client.ovpn --script-security 2" +alias o="xdg-open" +alias gc="git commit -v -s" +alias gst="git status --short" +
M zsh/.zshrczsh/.zshrc

@@ -27,24 +27,7 @@

# sourced scripts source $ZSH/oh-my-zsh.sh source /usr/share/autojump/autojump.zsh - -# aliases -alias scrot="~/bin/scrot.sh" -alias icyinfo="~/bin/icyinfo.sh" -alias gah='sudo $(fc -ln -1)' -alias nvime='nvim ~/.config/nvim/init.vim' -alias up="~/bin/icyup.sh" -alias envac="source .env/bin/activate" -alias vim="nvim" -alias vi="nvim" -alias sxiv="sxiv -b" -alias ls="exa" -alias la="exa -al" -alias socks="ssh -D 8008 boop" -alias vpn="sudo openvpn --config client.ovpn --script-security 2" -alias o="xdg-open" -alias gc="git commit -v -s" -alias gst="git status --short" +source $HOME/.aliases # end and home keys bindkey "^[[1~" beginning-of-line