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