summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zshrc10
1 files changed, 4 insertions, 6 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 0af2d92..5737f94 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -2,11 +2,11 @@
2# export PATH=$HOME/bin:/usr/local/bin:$PATH 2# export PATH=$HOME/bin:/usr/local/bin:$PATH
3 3
4# Path to your oh-my-zsh installation. 4# Path to your oh-my-zsh installation.
5export ZSH="/home/ssaini/.oh-my-zsh" 5export ZSH="/home/fd0e/.oh-my-zsh"
6export VISUAL=nvim 6export VISUAL=nvim
7export EDITOR="$VISUAL" 7export EDITOR="$VISUAL"
8export BROWSER=firefox 8export BROWSER=firefox
9export PATH=$PATH:$HOME/bin 9export PATH=$PATH:$HOME/.local/bin:$HOME/bin
10export XDG_CURRENT_DESKTOP=bspwm 10export XDG_CURRENT_DESKTOP=bspwm
11 11
12# Set name of the theme to load --- if set to "random", it will 12# Set name of the theme to load --- if set to "random", it will
@@ -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 extract python common-aliases archlinux fzf autojump) 76plugins=(git sudo archlinux extract python common-aliases autojump fzf)
77 77
78source $ZSH/oh-my-zsh.sh 78source $ZSH/oh-my-zsh.sh
79 79
@@ -114,6 +114,7 @@ alias weather="curl wttr.in"
114alias py="/bin/python" 114alias py="/bin/python"
115alias py2="/bin/python2" 115alias py2="/bin/python2"
116alias pubip="curl ipinfo.io/ip" 116alias pubip="curl ipinfo.io/ip"
117alias mirror="sudo reflector --verbose --latest 5 --sort rate --save /etc/pacman.d/mirrorlist"
117alias k="pkill " 118alias k="pkill "
118alias m="cmus" 119alias m="cmus"
119alias vimrc="vim $HOME/.config/nvim/init.vim" 120alias vimrc="vim $HOME/.config/nvim/init.vim"
@@ -122,8 +123,6 @@ alias z="zathura"
122alias v="/usr/bin/nvim" 123alias v="/usr/bin/nvim"
123alias vim="/usr/bin/nvim" 124alias vim="/usr/bin/nvim"
124alias sudo="sudo " 125alias sudo="sudo "
125alias drctf="docker run --rm -v $PWD:/ctf --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -d --name ctf -i ctf"
126alias dectf="docker exec -it ctf /bin/bash"
127 126
128source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh 127source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
129source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 128source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
@@ -139,4 +138,3 @@ source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zs
139 138
140# To add support for TTYs this line can be optionally added. 139# To add support for TTYs this line can be optionally added.
141#source ~/.cache/wal/colors-tty.sh 140#source ~/.cache/wal/colors-tty.sh
142