summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYigit Sever2020-03-02 16:33:57 +0300
committerYigit Sever2020-03-02 16:33:57 +0300
commitb2da157b16c00a36702c8b2cd98a3454c229abe8 (patch)
tree2c46a06a4e0c7f4f9970fcdc3b873667271110a1
parent9f274fa1238e4d398c97e2b85ed4496d9d0a7841 (diff)
downloaddotfiles-b2da157b16c00a36702c8b2cd98a3454c229abe8.tar.gz
dotfiles-b2da157b16c00a36702c8b2cd98a3454c229abe8.tar.bz2
dotfiles-b2da157b16c00a36702c8b2cd98a3454c229abe8.zip
zsh cleanup
-rw-r--r--.zshrc30
1 files changed, 11 insertions, 19 deletions
diff --git a/.zshrc b/.zshrc
index 3f205ef..624c508 100644
--- a/.zshrc
+++ b/.zshrc
@@ -100,12 +100,7 @@ fi
100# users are encouraged to define aliases within the ZSH_CUSTOM folder. 100# users are encouraged to define aliases within the ZSH_CUSTOM folder.
101# For a full list of active aliases, run `alias`. 101# For a full list of active aliases, run `alias`.
102 102
103# Example aliases
104alias ll='ls -alhF --color=yes'
105alias la='ls -A'
106alias l='ls -CF'
107alias vim='nvim' 103alias vim='nvim'
108alias pacup='sudo pacman -Syu'
109alias bashrc='nvim ~/.zshrc && source ~/.zshrc' 104alias bashrc='nvim ~/.zshrc && source ~/.zshrc'
110alias taskrc='nvim ~/.taskrc' 105alias taskrc='nvim ~/.taskrc'
111alias conkyrc='nvim ~/.config/conky/conky.conf' 106alias conkyrc='nvim ~/.config/conky/conky.conf'
@@ -117,10 +112,20 @@ alias df='df -h'
117alias mirrors='sudo pacman-mirrors -f 0 && sudo pacman -Syy' 112alias mirrors='sudo pacman-mirrors -f 0 && sudo pacman -Syy'
118alias -g C='| xsel -b' # Copy to clipboard 113alias -g C='| xsel -b' # Copy to clipboard
119alias bc='bc -l' 114alias bc='bc -l'
115# how many days left to the end of the month, doesn't understand weekends
120alias maas="expr $(cal | awk 'FNR>2{d+=NF}END{print d}') - $(date +%d)" 116alias maas="expr $(cal | awk 'FNR>2{d+=NF}END{print d}') - $(date +%d)"
121alias gg="exit"
122alias ledger="ledger -f ~/Nextcloud/ledger.ledger" 117alias ledger="ledger -f ~/Nextcloud/ledger.ledger"
123alias report="report -f ~/Nextcloud/ledger.ledger" 118alias report="report -f ~/Nextcloud/ledger.ledger"
119alias think='tickle +1d' #think it over
120alias lim='nvim /home/yigit/Nextcloud/ledger.ledger'
121alias maybe='task due:someday list'
122alias music='mpv --no-vid'
123alias s="du -hs * | sort -rh | head -5"
124alias b="buku --suggest --colors 'onlxm'"
125alias tp='trash-put'
126alias ls='exa'
127alias wim='nvim /home/yigit/Nextcloud/personal_wiki/index.wiki'
128alias ssh='TERM=xterm-256color ssh'
124 129
125RANGER_LOAD_DEFAULT_RC=FALSE; export RANGER_LOAD_DEFAULT_RC 130RANGER_LOAD_DEFAULT_RC=FALSE; export RANGER_LOAD_DEFAULT_RC
126 131
@@ -138,19 +143,6 @@ tickle () {
138} 143}
139alias tick=tickle 144alias tick=tickle
140 145
141#think it over
142alias think='tickle +1d'
143
144alias lim='nvim /home/yigit/Nextcloud/ledger.ledger'
145alias maybe='task due:someday list'
146alias music='mpv --no-vid'
147alias s="du -hs * | sort -rh | head -5"
148alias f="find . -name"
149alias b="buku --suggest --colors 'onlxm'"
150alias tp='trash-put'
151alias ls='exa'
152alias wim='nvim /home/yigit/Nextcloud/personal_wiki/index.wiki'
153
154[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh 146[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
155 147
156export GOOGLE_APPLICATION_CREDENTIALS="/home/yigit/translation/DanNet-152c89acaeb0.json" 148export GOOGLE_APPLICATION_CREDENTIALS="/home/yigit/translation/DanNet-152c89acaeb0.json"