Add vimwiki alias

This commit is contained in:
ItsDrike 2021-08-16 00:37:04 +02:00
parent e0f8e0431b
commit 669ec40e9d
No known key found for this signature in database
GPG key ID: B5F6B41F708C3ADD

View file

@ -215,6 +215,7 @@ alias yta-wav='youtube-dl --extract-audio --audio-format wav'
alias reload="exec \$SHELL" # Reload the shell (i.e. invoke as a login shell) alias reload="exec \$SHELL" # Reload the shell (i.e. invoke as a login shell)
alias path='echo -e ${PATH//:/\\n}' # Print each PATH entry on a separate line alias path='echo -e ${PATH//:/\\n}' # Print each PATH entry on a separate line
alias unsudo='sudo -k' # Reset sudo timeout (sudo will require password) alias unsudo='sudo -k' # Reset sudo timeout (sudo will require password)
alias vimwiki='vim -c VimwikiIndex' # Open vimwiki index
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"' alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
alias colors-256='curl -s https://gist.githubusercontent.com/HaleTom/89ffe32783f89f403bba96bd7bcd1263/raw/ | bash' # Show color table alias colors-256='curl -s https://gist.githubusercontent.com/HaleTom/89ffe32783f89f403bba96bd7bcd1263/raw/ | bash' # Show color table
alias tty-clock='tty-clock -Ssc' # Terminal clock screensaver alias tty-clock='tty-clock -Ssc' # Terminal clock screensaver