From e6a1b07a566b678ab236650d4fe619c1cd008cfb Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Sun, 13 Mar 2016 18:32:47 +0000 Subject: Add ledgerrc --- zsh/alias | 27 +++++++++++++++++++++++++++ zsh/aliases | 27 --------------------------- zsh/zshrc | 2 +- 3 files changed, 28 insertions(+), 28 deletions(-) create mode 100644 zsh/alias delete mode 100644 zsh/aliases (limited to 'zsh') diff --git a/zsh/alias b/zsh/alias new file mode 100644 index 0000000..2341ac6 --- /dev/null +++ b/zsh/alias @@ -0,0 +1,27 @@ +#!/bin/zsh + +# Commands +alias c='clear' +alias ca='printf "\ec"' +alias cdd='cd ~/dotfiles' +alias notes='vim ~/dotfiles/.notes' + +# Programs +alias a='vifm . .' +alias ff='FreeFem++' +alias g='git' +alias l='ledger' +alias el='vim ~/dotfiles/ledger/perso.ledger' +alias m='cd ~/.mutt/attachments && mutt && cd -' +alias n='newsbeuter' +alias v='vim' +alias vims="vim -S Session.vim" +alias vimtex='vim -S Session.vim --servername SYNC' + +# Build +alias mc='make clean' +alias mca='make clean-all' + +# Tmux +alias son="tmux set -g status on" +alias soff="tmux set -g status off" diff --git a/zsh/aliases b/zsh/aliases deleted file mode 100644 index c91fce8..0000000 --- a/zsh/aliases +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/zsh - -# Commands -alias c='clear' -alias ca='printf "\ec"' -alias cdd='cd ~/dotfiles' -alias notes='vim ~/dotfiles/.notes' - -# Programs -alias a='vifm . .' -alias ff='FreeFem++' -alias g='git' -alias l='ledger -f ~/dotfiles/ledger/perso.ledger' -alias lj='vim ~/dotfiles/ledger/perso.ledger' -alias m='cd ~/.mutt/attachments && mutt && cd -' -alias n='newsbeuter' -alias v='vim' -alias vims="vim -S Session.vim" -alias vimtex='vim -S Session.vim --servername SYNC' - -# Build -alias mc='make clean' -alias mca='make clean-all' - -# Tmux -alias son="tmux set -g status on" -alias soff="tmux set -g status off" diff --git a/zsh/zshrc b/zsh/zshrc index 22860cd..7f0d181 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -4,7 +4,7 @@ # Source configuration files source "$HOME/.zsh/plugins" source "$HOME/.zsh/functions" -source "$HOME/.zsh/aliases" +source "$HOME/.zsh/alias" source "$HOME/.zsh/tmp" # Custom key bindings for built-in widgets -- cgit v1.2.3