diff options
author | Urbain Vaes <urbain@vaes.uk> | 2016-03-13 18:32:47 +0000 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2016-03-13 18:32:47 +0000 |
commit | e6a1b07a566b678ab236650d4fe619c1cd008cfb (patch) | |
tree | 819e8640f52d4a05483cd80af30b0b7da3847367 | |
parent | ed3efbe2f920f62ae0eb42b00735552929e8aaa5 (diff) |
Add ledgerrc
-rw-r--r-- | .dotmap | 7 | ||||
-rwxr-xr-x | bin/dot | 1 | ||||
-rw-r--r-- | ledgerrc | 2 | ||||
-rw-r--r-- | zsh/alias (renamed from zsh/aliases) | 4 | ||||
-rw-r--r-- | zsh/zshrc | 2 |
5 files changed, 10 insertions, 6 deletions
@@ -1,6 +1,6 @@ declare -A dotmap -dotmap[/home/urbain/.Xresources]=/home/urbain/dotfiles/Xresources dotmap[/home/urbain/.bashrc]=/home/urbain/dotfiles/bashrc +dotmap[/home/urbain/bin]=/home/urbain/dotfiles/bin dotmap[/home/urbain/.config/dunst/dunstrc]=/home/urbain/dotfiles/dunstrc dotmap[/home/urbain/.config/i3/config]=/home/urbain/dotfiles/i3/config dotmap[/home/urbain/.config/i3status/config]=/home/urbain/dotfiles/i3/i3status.conf @@ -8,10 +8,11 @@ dotmap[/home/urbain/.config/newsbeuter]=/home/urbain/dotfiles/newsbeuter dotmap[/home/urbain/.config/nvim]=/home/urbain/dotfiles/vim dotmap[/home/urbain/.config/qutebrowser]=/home/urbain/dotfiles/qutebrowser dotmap[/home/urbain/.config/zathura/zathurarc]=/home/urbain/dotfiles/zathurarc -dotmap[/home/urbain/.git_template]=/home/urbain/dotfiles/git_template dotmap[/home/urbain/.gitconfig]=/home/urbain/dotfiles/gitconfig +dotmap[/home/urbain/.git_template]=/home/urbain/dotfiles/git_template dotmap[/home/urbain/.inputrc]=/home/urbain/dotfiles/inputrc dotmap[/home/urbain/.latexmkrc]=/home/urbain/dotfiles/latexmkrc +dotmap[/home/urbain/.ledgerrc]=/home/urbain/dotfiles/ledgerrc dotmap[/home/urbain/.local/share/qutebrowser/userscripts]=/home/urbain/dotfiles/qutebrowser/userscripts dotmap[/home/urbain/.mbsyncrc]=/home/urbain/dotfiles/mbsyncrc dotmap[/home/urbain/.mrconfig]=/home/urbain/dotfiles/mr/mrconfig @@ -27,7 +28,7 @@ dotmap[/home/urbain/.vifm]=/home/urbain/dotfiles/vifm dotmap[/home/urbain/.vim]=/home/urbain/dotfiles/vim dotmap[/home/urbain/.vimrc]=/home/urbain/dotfiles/vim/vimrc dotmap[/home/urbain/.xinitrc]=/home/urbain/dotfiles/xinitrc +dotmap[/home/urbain/.Xresources]=/home/urbain/dotfiles/Xresources dotmap[/home/urbain/.zgen]=/home/urbain/dotfiles/zsh/zgen dotmap[/home/urbain/.zsh]=/home/urbain/dotfiles/zsh dotmap[/home/urbain/.zshrc]=/home/urbain/dotfiles/zsh/zshrc -dotmap[/home/urbain/bin]=/home/urbain/dotfiles/bin @@ -42,6 +42,7 @@ save() get_links | while read link; do echo "dotmap[$link]=$(realpath -q $link)" >> .dotmap done + sort .dotmap -o .dotmap } $1 diff --git a/ledgerrc b/ledgerrc new file mode 100644 index 0000000..4fb9118 --- /dev/null +++ b/ledgerrc @@ -0,0 +1,2 @@ +--pager /bin/less +--file ~/dotfiles/ledger/perso.ledger @@ -10,8 +10,8 @@ alias notes='vim ~/dotfiles/.notes' 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 l='ledger' +alias el='vim ~/dotfiles/ledger/perso.ledger' alias m='cd ~/.mutt/attachments && mutt && cd -' alias n='newsbeuter' alias v='vim' @@ -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 |