From b2da157b16c00a36702c8b2cd98a3454c229abe8 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Mon, 2 Mar 2020 16:33:57 +0300 Subject: zsh cleanup --- .zshrc | 30 +++++++++++------------------- 1 file changed, 11 insertions(+), 19 deletions(-) diff --git a/.zshrc b/.zshrc index 3f205ef..624c508 100644 --- a/.zshrc +++ b/.zshrc @@ -100,12 +100,7 @@ fi # users are encouraged to define aliases within the ZSH_CUSTOM folder. # For a full list of active aliases, run `alias`. -# Example aliases -alias ll='ls -alhF --color=yes' -alias la='ls -A' -alias l='ls -CF' alias vim='nvim' -alias pacup='sudo pacman -Syu' alias bashrc='nvim ~/.zshrc && source ~/.zshrc' alias taskrc='nvim ~/.taskrc' alias conkyrc='nvim ~/.config/conky/conky.conf' @@ -117,10 +112,20 @@ alias df='df -h' alias mirrors='sudo pacman-mirrors -f 0 && sudo pacman -Syy' alias -g C='| xsel -b' # Copy to clipboard alias bc='bc -l' +# how many days left to the end of the month, doesn't understand weekends alias maas="expr $(cal | awk 'FNR>2{d+=NF}END{print d}') - $(date +%d)" -alias gg="exit" alias ledger="ledger -f ~/Nextcloud/ledger.ledger" alias report="report -f ~/Nextcloud/ledger.ledger" +alias think='tickle +1d' #think it over +alias lim='nvim /home/yigit/Nextcloud/ledger.ledger' +alias maybe='task due:someday list' +alias music='mpv --no-vid' +alias s="du -hs * | sort -rh | head -5" +alias b="buku --suggest --colors 'onlxm'" +alias tp='trash-put' +alias ls='exa' +alias wim='nvim /home/yigit/Nextcloud/personal_wiki/index.wiki' +alias ssh='TERM=xterm-256color ssh' RANGER_LOAD_DEFAULT_RC=FALSE; export RANGER_LOAD_DEFAULT_RC @@ -138,19 +143,6 @@ tickle () { } alias tick=tickle -#think it over -alias think='tickle +1d' - -alias lim='nvim /home/yigit/Nextcloud/ledger.ledger' -alias maybe='task due:someday list' -alias music='mpv --no-vid' -alias s="du -hs * | sort -rh | head -5" -alias f="find . -name" -alias b="buku --suggest --colors 'onlxm'" -alias tp='trash-put' -alias ls='exa' -alias wim='nvim /home/yigit/Nextcloud/personal_wiki/index.wiki' - [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh export GOOGLE_APPLICATION_CREDENTIALS="/home/yigit/translation/DanNet-152c89acaeb0.json" -- cgit v1.2.3-70-g09d2