summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2016-03-13 18:32:47 +0000
committerUrbain Vaes <urbain@vaes.uk>2016-03-13 18:32:47 +0000
commite6a1b07a566b678ab236650d4fe619c1cd008cfb (patch)
tree819e8640f52d4a05483cd80af30b0b7da3847367
parented3efbe2f920f62ae0eb42b00735552929e8aaa5 (diff)
Add ledgerrc
-rw-r--r--.dotmap7
-rwxr-xr-xbin/dot1
-rw-r--r--ledgerrc2
-rw-r--r--zsh/alias (renamed from zsh/aliases)4
-rw-r--r--zsh/zshrc2
5 files changed, 10 insertions, 6 deletions
diff --git a/.dotmap b/.dotmap
index 01c19c2..9686014 100644
--- a/.dotmap
+++ b/.dotmap
@@ -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
diff --git a/bin/dot b/bin/dot
index 210c967..0049e9c 100755
--- a/bin/dot
+++ b/bin/dot
@@ -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
diff --git a/zsh/aliases b/zsh/alias
index c91fce8..2341ac6 100644
--- a/zsh/aliases
+++ b/zsh/alias
@@ -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'
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