X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=home%2Flib%2Flogin_aliases.sh;h=f335f566739423fe015c71f8a49e9a183f1aba66;hb=d1d9daef1cd092c0029e2bce2bc2c719616dffab;hp=f4d4ed75e99806fe0074663b7c8595ea3a76fcb5;hpb=96d30cbc4559b46900f43f72c0450258f5c099cf;p=khome.git diff --git a/home/lib/login_aliases.sh b/home/lib/login_aliases.sh index f4d4ed7..f335f56 100644 --- a/home/lib/login_aliases.sh +++ b/home/lib/login_aliases.sh @@ -1,4 +1,9 @@ -alias c='ncal -Mb' # -M : start week with Monday, -b : use old format (like in cal) +alias s=status +alias g=git +alias gr='git remote -v' +alias e='emacs -nw' +alias v=vim +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' @@ -11,5 +16,13 @@ alias tm='tmux' #alias startx='printf "Use a specialized startx-...\n"' alias mans='man $(man -k . | sort | fzf -e | awk "{print \$1}")' alias twread='twtxt timeline --limit 1000 | less' -alias todo='cd ~/Documents/TODO && vim -c NERDTreeFind TODO.md' -alias drafts='cd ~/Documents/drafts && vim drafts.md' +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 -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'