diff options
author | Urbain Vaes <urbain@vaes.uk> | 2016-09-02 12:06:35 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2016-09-02 12:06:35 +0100 |
commit | 85d03dc7297404ad0cac04a0a9c2bbef8e301fbb (patch) | |
tree | 605b446ec5a0d0f7b6370aaa348529cdfe5d8bdd | |
parent | 0b3c3a10f11d8c1598d2773189dfbcd187b0344c (diff) |
[zsh] Add aliases for GNU Make
-rw-r--r-- | zsh/.zsh/alias | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/zsh/.zsh/alias b/zsh/.zsh/alias index 7d0dc7d..8477d7d 100644 --- a/zsh/.zsh/alias +++ b/zsh/.zsh/alias @@ -5,13 +5,9 @@ alias c='clear' alias ca='printf "\ec"' alias cdd='cd ~/dotfiles' -# Shortcut to files -alias notes='vim ~/dotfiles/.notes' - # Programs alias a='vifm . .' alias ff='FreeFem++' -alias g='git' alias m='cd ~/.mutt/attachments && mutt && cd -' alias e='nvim' alias n='nvim' @@ -19,13 +15,14 @@ alias ns='nvim -S Session.vim' alias v='vim' alias vs="vim -S Session.vim" -# Build +# Git +alias g='git' +alias rd='cd $(git rev-parse --show-toplevel)' + +# GNU Make +alias mi='make install' alias mc='make clean' alias mca='make clean-all' -# Tmux -alias son="tmux set -g status on" -alias soff="tmux set -g status off" - # Unablias ag from ubuntu plugin unalias ag |