summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYigit Sever2020-09-16 14:29:06 +0300
committerYigit Sever2020-09-16 14:29:06 +0300
commit2852e51b35282edbbdd25e126d3fa3312c5d3180 (patch)
tree65b22c1842ba553fb92e4078ce5a7476bced3ced
parent0ae8b64bbac303f3e3bacfe349f8a367676ebbcf (diff)
downloaddotfiles-2852e51b35282edbbdd25e126d3fa3312c5d3180.tar.gz
dotfiles-2852e51b35282edbbdd25e126d3fa3312c5d3180.tar.bz2
dotfiles-2852e51b35282edbbdd25e126d3fa3312c5d3180.zip
prune zshrc
-rw-r--r--.zshrc16
1 files changed, 2 insertions, 14 deletions
diff --git a/.zshrc b/.zshrc
index 1d07844..c334881 100644
--- a/.zshrc
+++ b/.zshrc
@@ -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.
5export PATH=$HOME/bin:/usr/local/bin:$PATH 5export PATH=$HOME/bin:/usr/local/bin:$PATH
6export PATH="$PATH:/home/yigit/.local/bin:$HOME/.cargo/bin/" 6export 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.
9export ZSH=/home/yigit/.oh-my-zsh 9export ZSH=/home/yigit/.oh-my-zsh
10export 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'
113alias mirrors='sudo pacman-mirrors -f 0 && sudo pacman -Syy' 112alias mirrors='sudo pacman-mirrors -f 0 && sudo pacman -Syy'
114alias -g C='| xsel -b' # Copy to clipboard 113alias -g C='| xsel -b' # Copy to clipboard
115alias bc='bc -l' 114alias bc='bc -l'
116# how many days left to the end of the month, doesn't understand weekends
117alias maas="expr $(cal | awk 'FNR>2{d+=NF}END{print d}') - $(date +%d)"
118alias ledger="ledger -f ~/Nextcloud/ledger.ledger" 115alias ledger="ledger -f ~/Nextcloud/ledger.ledger"
119alias report="report -f ~/Nextcloud/ledger.ledger" 116alias report="report -f ~/Nextcloud/ledger.ledger"
120alias think='tickle +1d' #think it over 117alias 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
153export GOOGLE_APPLICATION_CREDENTIALS="/home/yigit/translation/DanNet-152c89acaeb0.json"
154
155PATH="/home/yigit/perl5/bin${PATH:+:${PATH}}"; export PATH;
156PERL5LIB="/home/yigit/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB;
157PERL_LOCAL_LIB_ROOT="/home/yigit/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT;
158PERL_MB_OPT="--install_base \"/home/yigit/perl5\""; export PERL_MB_OPT;
159PERL_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
162function te { 151function te {
163 cd $(mktemp -d /tmp/$1.XXXX) 152 cd $(mktemp -d /tmp/$1.XXXX)
164} 153}
165 154
166source /home/yigit/.config/broot/launcher/bash/br
167
168n () 155n ()
169{ 156{
170 # Block nesting of nnn in subshells 157 # Block nesting of nnn in subshells
@@ -196,6 +183,7 @@ n ()
196 183
197export NNN_BMS='w:~/Nextcloud/personal_wiki;r:~/Nextcloud/remind;n:~/Nextcloud' 184export NNN_BMS='w:~/Nextcloud/personal_wiki;r:~/Nextcloud/remind;n:~/Nextcloud'
198export NNN_COLORS="2136" # use a different color for each context 185export NNN_COLORS="2136" # use a different color for each context
186export NNN_FCOLORS='c1e2272e006033f7c6d6abc4'
199export NNN_PLUG='d:dragdrop;z:fzz;p:preview-tui' 187export 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.