X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=home%2Flib%2Flogin_aliases.sh;h=f335f566739423fe015c71f8a49e9a183f1aba66;hb=d1d9daef1cd092c0029e2bce2bc2c719616dffab;hp=28f47884143a2d821c3323641f63e08b6c82524a;hpb=90dd14d6cd78d0a23a959f8e13474dc4138d22c8;p=khome.git diff --git a/home/lib/login_aliases.sh b/home/lib/login_aliases.sh index 28f4788..f335f56 100644 --- a/home/lib/login_aliases.sh +++ b/home/lib/login_aliases.sh @@ -1,8 +1,9 @@ alias s=status alias g=git +alias gr='git remote -v' alias e='emacs -nw' alias v=vim -alias c='ncal -Mb' # -M : start week with Monday, -b : use old format (like in cal) +alias c='cal -vm3' # -v: vertical, -m: start week with Monday, -3: show 3 months (prev, curr, next) alias h='history | fzf -e' alias l='ls -lFhv --group-directories-first --color=auto' alias ll='l -a' @@ -17,9 +18,11 @@ alias mans='man $(man -k . | sort | fzf -e | awk "{print \$1}")' alias twread='twtxt timeline --limit 1000 | less' alias todo='cd ~/doc/TODO && vim TODO.md' alias work_todo="cd $DIR_WORK/docs/TODO && vim -c NERDTreeFind TODO.txt" -alias drafts='cd ~/doc/drafts && drafts_prepend && vim drafts.md' +alias drafts='cd ~/doc/drafts && drafts_prepend && vim -c NERDTreeFind drafts.md' alias notes='cd ~/doc/notes && notes_prepend && vim notes.md' alias bookmarks='cd ~/doc/bookmarks && vim bookmarks.md' alias ideas='cd ~/doc/ideas && vim ideas.md' alias quotes='cd ~/doc/quotations && vim quotations.md' alias bitcoin='nc ticker.bitcointicker.co 10080' # https://github.com/chubin/awesome-console-services#Money +alias weather='cat ~/.pista-out/weather-summary' +alias notify-done='s="$?"; if [[ "$s" -eq 0 ]]; then notify-send "done OK: $s"; else notify-send -u critical "done ERROR: $s"; fi'