diff options
Diffstat (limited to '.zshrc')
| -rw-r--r-- | .zshrc | 30 |
1 files changed, 11 insertions, 19 deletions
| @@ -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 | ||
| 104 | alias ll='ls -alhF --color=yes' | ||
| 105 | alias la='ls -A' | ||
| 106 | alias l='ls -CF' | ||
| 107 | alias vim='nvim' | 103 | alias vim='nvim' |
| 108 | alias pacup='sudo pacman -Syu' | ||
| 109 | alias bashrc='nvim ~/.zshrc && source ~/.zshrc' | 104 | alias bashrc='nvim ~/.zshrc && source ~/.zshrc' |
| 110 | alias taskrc='nvim ~/.taskrc' | 105 | alias taskrc='nvim ~/.taskrc' |
| 111 | alias conkyrc='nvim ~/.config/conky/conky.conf' | 106 | alias conkyrc='nvim ~/.config/conky/conky.conf' |
| @@ -117,10 +112,20 @@ alias df='df -h' | |||
| 117 | alias mirrors='sudo pacman-mirrors -f 0 && sudo pacman -Syy' | 112 | alias mirrors='sudo pacman-mirrors -f 0 && sudo pacman -Syy' |
| 118 | alias -g C='| xsel -b' # Copy to clipboard | 113 | alias -g C='| xsel -b' # Copy to clipboard |
| 119 | alias bc='bc -l' | 114 | alias bc='bc -l' |
| 115 | # how many days left to the end of the month, doesn't understand weekends | ||
| 120 | alias maas="expr $(cal | awk 'FNR>2{d+=NF}END{print d}') - $(date +%d)" | 116 | alias maas="expr $(cal | awk 'FNR>2{d+=NF}END{print d}') - $(date +%d)" |
| 121 | alias gg="exit" | ||
| 122 | alias ledger="ledger -f ~/Nextcloud/ledger.ledger" | 117 | alias ledger="ledger -f ~/Nextcloud/ledger.ledger" |
| 123 | alias report="report -f ~/Nextcloud/ledger.ledger" | 118 | alias report="report -f ~/Nextcloud/ledger.ledger" |
| 119 | alias think='tickle +1d' #think it over | ||
| 120 | alias lim='nvim /home/yigit/Nextcloud/ledger.ledger' | ||
| 121 | alias maybe='task due:someday list' | ||
| 122 | alias music='mpv --no-vid' | ||
| 123 | alias s="du -hs * | sort -rh | head -5" | ||
| 124 | alias b="buku --suggest --colors 'onlxm'" | ||
| 125 | alias tp='trash-put' | ||
| 126 | alias ls='exa' | ||
| 127 | alias wim='nvim /home/yigit/Nextcloud/personal_wiki/index.wiki' | ||
| 128 | alias ssh='TERM=xterm-256color ssh' | ||
| 124 | 129 | ||
| 125 | RANGER_LOAD_DEFAULT_RC=FALSE; export RANGER_LOAD_DEFAULT_RC | 130 | RANGER_LOAD_DEFAULT_RC=FALSE; export RANGER_LOAD_DEFAULT_RC |
| 126 | 131 | ||
| @@ -138,19 +143,6 @@ tickle () { | |||
| 138 | } | 143 | } |
| 139 | alias tick=tickle | 144 | alias tick=tickle |
| 140 | 145 | ||
| 141 | #think it over | ||
| 142 | alias think='tickle +1d' | ||
| 143 | |||
| 144 | alias lim='nvim /home/yigit/Nextcloud/ledger.ledger' | ||
| 145 | alias maybe='task due:someday list' | ||
| 146 | alias music='mpv --no-vid' | ||
| 147 | alias s="du -hs * | sort -rh | head -5" | ||
| 148 | alias f="find . -name" | ||
| 149 | alias b="buku --suggest --colors 'onlxm'" | ||
| 150 | alias tp='trash-put' | ||
| 151 | alias ls='exa' | ||
| 152 | alias 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 | ||
| 156 | export GOOGLE_APPLICATION_CREDENTIALS="/home/yigit/translation/DanNet-152c89acaeb0.json" | 148 | export GOOGLE_APPLICATION_CREDENTIALS="/home/yigit/translation/DanNet-152c89acaeb0.json" |
