diff options
Diffstat (limited to '.zshrc')
-rw-r--r-- | .zshrc | 16 |
1 files changed, 2 insertions, 14 deletions
@@ -3,11 +3,10 @@ hostname=$(uname -n) | |||
3 | 3 | ||
4 | # If you come from bash you might have to change your $PATH. | 4 | # If you come from bash you might have to change your $PATH. |
5 | export PATH=$HOME/bin:/usr/local/bin:$PATH | 5 | export PATH=$HOME/bin:/usr/local/bin:$PATH |
6 | export PATH="$PATH:/home/yigit/.local/bin:$HOME/.cargo/bin/" | 6 | export PATH="$PATH:/home/yigit/.local/bin:$HOME/.cargo/bin" |
7 | 7 | ||
8 | # Path to your oh-my-zsh installation. | 8 | # Path to your oh-my-zsh installation. |
9 | export ZSH=/home/yigit/.oh-my-zsh | 9 | export ZSH=/home/yigit/.oh-my-zsh |
10 | export SEMESTER_THEME="The Summer of Catchup" | ||
11 | 10 | ||
12 | # Set name of the theme to load. Optionally, if you set this to "random" | 11 | # Set name of the theme to load. Optionally, if you set this to "random" |
13 | # it'll load a random theme each time that oh-my-zsh is loaded. | 12 | # it'll load a random theme each time that oh-my-zsh is loaded. |
@@ -113,8 +112,6 @@ alias df='df -h' | |||
113 | alias mirrors='sudo pacman-mirrors -f 0 && sudo pacman -Syy' | 112 | alias mirrors='sudo pacman-mirrors -f 0 && sudo pacman -Syy' |
114 | alias -g C='| xsel -b' # Copy to clipboard | 113 | alias -g C='| xsel -b' # Copy to clipboard |
115 | alias bc='bc -l' | 114 | alias bc='bc -l' |
116 | # how many days left to the end of the month, doesn't understand weekends | ||
117 | alias maas="expr $(cal | awk 'FNR>2{d+=NF}END{print d}') - $(date +%d)" | ||
118 | alias ledger="ledger -f ~/Nextcloud/ledger.ledger" | 115 | alias ledger="ledger -f ~/Nextcloud/ledger.ledger" |
119 | alias report="report -f ~/Nextcloud/ledger.ledger" | 116 | alias report="report -f ~/Nextcloud/ledger.ledger" |
120 | alias think='tickle +1d' #think it over | 117 | alias think='tickle +1d' #think it over |
@@ -150,21 +147,11 @@ alias tick=tickle | |||
150 | 147 | ||
151 | [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh | 148 | [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh |
152 | 149 | ||
153 | export GOOGLE_APPLICATION_CREDENTIALS="/home/yigit/translation/DanNet-152c89acaeb0.json" | ||
154 | |||
155 | PATH="/home/yigit/perl5/bin${PATH:+:${PATH}}"; export PATH; | ||
156 | PERL5LIB="/home/yigit/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB; | ||
157 | PERL_LOCAL_LIB_ROOT="/home/yigit/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT; | ||
158 | PERL_MB_OPT="--install_base \"/home/yigit/perl5\""; export PERL_MB_OPT; | ||
159 | PERL_MM_OPT="INSTALL_BASE=/home/yigit/perl5"; export PERL_MM_OPT; | ||
160 | |||
161 | # https://lobste.rs/s/zpw6py/how_do_you_organize_your_home_directory | 150 | # https://lobste.rs/s/zpw6py/how_do_you_organize_your_home_directory |
162 | function te { | 151 | function te { |
163 | cd $(mktemp -d /tmp/$1.XXXX) | 152 | cd $(mktemp -d /tmp/$1.XXXX) |
164 | } | 153 | } |
165 | 154 | ||
166 | source /home/yigit/.config/broot/launcher/bash/br | ||
167 | |||
168 | n () | 155 | n () |
169 | { | 156 | { |
170 | # Block nesting of nnn in subshells | 157 | # Block nesting of nnn in subshells |
@@ -196,6 +183,7 @@ n () | |||
196 | 183 | ||
197 | export NNN_BMS='w:~/Nextcloud/personal_wiki;r:~/Nextcloud/remind;n:~/Nextcloud' | 184 | export NNN_BMS='w:~/Nextcloud/personal_wiki;r:~/Nextcloud/remind;n:~/Nextcloud' |
198 | export NNN_COLORS="2136" # use a different color for each context | 185 | export NNN_COLORS="2136" # use a different color for each context |
186 | export NNN_FCOLORS='c1e2272e006033f7c6d6abc4' | ||
199 | export NNN_PLUG='d:dragdrop;z:fzz;p:preview-tui' | 187 | export NNN_PLUG='d:dragdrop;z:fzz;p:preview-tui' |
200 | 188 | ||
201 | # Add RVM to PATH for scripting. Make sure this is the last PATH variable change. | 189 | # Add RVM to PATH for scripting. Make sure this is the last PATH variable change. |