diff options
Diffstat (limited to '.zshrc')
-rw-r--r-- | .zshrc | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -120,18 +120,13 @@ alias -g C='| xsel -b' # Copy to clipboard | |||
120 | alias bc='bc -l' | 120 | alias bc='bc -l' |
121 | alias maas="expr $(cal | awk 'FNR>2{d+=NF}END{print d}') - $(date +%d)" | 121 | alias maas="expr $(cal | awk 'FNR>2{d+=NF}END{print d}') - $(date +%d)" |
122 | alias gg="exit" | 122 | alias gg="exit" |
123 | alias ledger="ledger -f ~/Dropbox/ledger.dat" | 123 | alias ledger="ledger -f ~/Nextcloud/ledger.dat" |
124 | alias report="report -f ~/Dropbox/ledger.dat" | 124 | alias report="report -f ~/Nextcloud/ledger.dat" |
125 | 125 | ||
126 | RANGER_LOAD_DEFAULT_RC=FALSE; export RANGER_LOAD_DEFAULT_RC | 126 | RANGER_LOAD_DEFAULT_RC=FALSE; export RANGER_LOAD_DEFAULT_RC |
127 | 127 | ||
128 | export GPG_TTY=$(tty) | 128 | export GPG_TTY=$(tty) |
129 | 129 | ||
130 | if [ "$hostname" != "Luchs" ]; then | ||
131 | PATH="$PATH:$(ruby -e 'print Gem.user_dir')/bin" | ||
132 | export GEM_HOME=$HOME/.gem | ||
133 | fi | ||
134 | |||
135 | # Getting Things Done & Taskwarrior Related | 130 | # Getting Things Done & Taskwarrior Related |
136 | alias in='task add +in' # Alias for tasks with in tag (in tray) | 131 | alias in='task add +in' # Alias for tasks with in tag (in tray) |
137 | alias inc='task +in +PENDING count' # Reporting the number of in things | 132 | alias inc='task +in +PENDING count' # Reporting the number of in things |
@@ -147,7 +142,7 @@ alias tick=tickle | |||
147 | #think it over | 142 | #think it over |
148 | alias think='tickle +1d' | 143 | alias think='tickle +1d' |
149 | 144 | ||
150 | alias lim='nvim /home/yigit/Dropbox/ledger.dat' | 145 | alias lim='nvim /home/yigit/Nextcloud/ledger.dat' |
151 | alias maybe='task due:someday list' | 146 | alias maybe='task due:someday list' |
152 | alias music='mpv --no-vid' | 147 | alias music='mpv --no-vid' |
153 | alias s="du -hs * | sort -rh | head -5" | 148 | alias s="du -hs * | sort -rh | head -5" |
@@ -158,3 +153,9 @@ alias tp='trash-put' | |||
158 | [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh | 153 | [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh |
159 | 154 | ||
160 | export GOOGLE_APPLICATION_CREDENTIALS="/home/yigit/translation/DanNet-152c89acaeb0.json" | 155 | export GOOGLE_APPLICATION_CREDENTIALS="/home/yigit/translation/DanNet-152c89acaeb0.json" |
156 | |||
157 | PATH="/home/yigit/perl5/bin${PATH:+:${PATH}}"; export PATH; | ||
158 | PERL5LIB="/home/yigit/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB; | ||
159 | PERL_LOCAL_LIB_ROOT="/home/yigit/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT; | ||
160 | PERL_MB_OPT="--install_base \"/home/yigit/perl5\""; export PERL_MB_OPT; | ||
161 | PERL_MM_OPT="INSTALL_BASE=/home/yigit/perl5"; export PERL_MM_OPT; | ||