summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorShubham Saini <shubham6405@gmail.com>2020-03-24 12:23:17 +0000
committerShubham Saini <shubham6405@gmail.com>2020-03-24 12:23:17 +0000
commit064fb93965974ed826a7e9cdf854e9c5ec935342 (patch)
tree75789e39783d7def078085b96d71d55e20555cbd /zsh
parentafb012025a944617e912c20e98190f8538d78262 (diff)
gentooman
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zshrc26
1 files changed, 4 insertions, 22 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index bddd6dd..2dd7790 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -13,7 +13,7 @@ export XDG_CURRENT_DESKTOP=bspwm
13# load a random theme each time oh-my-zsh is loaded, in which case, 13# load a random theme each time oh-my-zsh is loaded, in which case,
14# to know which specific one was loaded, run: echo $RANDOM_THEME 14# to know which specific one was loaded, run: echo $RANDOM_THEME
15# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes 15# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
16ZSH_THEME="mh" 16ZSH_THEME="half-life"
17 17
18# Set list of themes to pick from when loading at random 18# Set list of themes to pick from when loading at random
19# Setting this variable when ZSH_THEME=random will cause zsh to load 19# Setting this variable when ZSH_THEME=random will cause zsh to load
@@ -73,7 +73,7 @@ ZSH_THEME="mh"
73# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ 73# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
74# Example format: plugins=(rails git textmate ruby lighthouse) 74# Example format: plugins=(rails git textmate ruby lighthouse)
75# Add wisely, as too many plugins slow down shell startup. 75# Add wisely, as too many plugins slow down shell startup.
76plugins=(git sudo archlinux extract python common-aliases autojump fzf) 76plugins=(git sudo extract python common-aliases)
77 77
78source $ZSH/oh-my-zsh.sh 78source $ZSH/oh-my-zsh.sh
79 79
@@ -105,36 +105,18 @@ source $ZSH/oh-my-zsh.sh
105alias key="vim $HOME/.config/sxhkd/sxhkdrc" 105alias key="vim $HOME/.config/sxhkd/sxhkdrc"
106alias wm="vim ~/.config/bspwm/bspwmrc" 106alias wm="vim ~/.config/bspwm/bspwmrc"
107alias f="ranger" 107alias f="ranger"
108alias bb="cat /proc/acpi/bbswitch"
109alias nu="nmcli connection up " 108alias nu="nmcli connection up "
110alias nt="nmtui-connect"
111alias nd="nmcli connection down "
112alias pg="ping google.com"
113alias weather="curl wttr.in" 109alias weather="curl wttr.in"
114alias py="/bin/python" 110alias py="/bin/python"
115alias py2="/bin/python2" 111alias py2="/bin/python2"
112alias pg="ping google.com"
116alias pubip="curl ipinfo.io/ip" 113alias pubip="curl ipinfo.io/ip"
117alias mirror="sudo reflector --verbose --latest 5 --sort rate --save /etc/pacman.d/mirrorlist"
118alias k="pkill " 114alias k="pkill "
119alias m="ncmpcpp" 115alias m="ncmpcpp"
120alias vimrc="vim $HOME/.config/nvim/init.vim" 116alias vimrc="vim $HOME/.config/nvim/init.vim"
121alias poly="vim $HOME/.config/polybar/config" 117alias poly="vim $HOME/.config/polybar/config"
122alias z="zathura"
123alias v="/usr/bin/nvim" 118alias v="/usr/bin/nvim"
124alias vim="/usr/bin/nvim" 119alias vim="/usr/bin/nvim"
125alias sudo="sudo " 120alias sudo="sudo "
126 121
127source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh 122source /usr/share/zsh/site-functions/zsh-syntax-highlighting.zsh
128source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
129
130
131# Import colorscheme from 'wal' asynchronously
132# & # Run the process in the background.
133# ( ) # Hide shell job control messages.
134#(cat ~/.cache/wal/sequences &)
135
136# Alternative (blocks terminal for 0-3ms)
137#cat ~/.cache/wal/sequences
138
139# To add support for TTYs this line can be optionally added.
140#source ~/.cache/wal/colors-tty.sh