summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zshrc144
1 files changed, 144 insertions, 0 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
new file mode 100644
index 0000000..6686e55
--- /dev/null
+++ b/zsh/.zshrc
@@ -0,0 +1,144 @@
1# If you come from bash you might have to change your $PATH.
2# export PATH=$HOME/bin:/usr/local/bin:$PATH
3
4# Path to your oh-my-zsh installation.
5export ZSH="/home/ssaini/.oh-my-zsh"
6export VISUAL=nvim
7export EDITOR="$VISUAL"
8export BROWSER=/opt/brave-v1.3.43-linux-x64/brave
9export XDG_CURRENT_DESKTOP=bspwm
10
11# Set name of the theme to load --- if set to "random", it will
12# load a random theme each time oh-my-zsh is loaded, in which case,
13# to know which specific one was loaded, run: echo $RANDOM_THEME
14# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
15ZSH_THEME="gianu"
16SPACESHIP_CHAR_SYMBOL=" "
17SPACESHIP_PROMPT_ADD_NEWLINE=false
18
19# Set list of themes to pick from when loading at random
20# Setting this variable when ZSH_THEME=random will cause zsh to load
21# a theme from this variable instead of looking in ~/.oh-my-zsh/themes/
22# If set to an empty array, this variable will have no effect.
23# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
24
25# Uncomment the following line to use case-sensitive completion.
26# CASE_SENSITIVE="true"
27
28# Uncomment the following line to use hyphen-insensitive completion.
29# Case-sensitive completion must be off. _ and - will be interchangeable.
30# HYPHEN_INSENSITIVE="true"
31
32# Uncomment the following line to disable bi-weekly auto-update checks.
33# DISABLE_AUTO_UPDATE="true"
34
35# Uncomment the following line to automatically update without prompting.
36# DISABLE_UPDATE_PROMPT="true"
37
38# Uncomment the following line to change how often to auto-update (in days).
39# export UPDATE_ZSH_DAYS=13
40
41# Uncomment the following line if pasting URLs and other text is messed up.
42# DISABLE_MAGIC_FUNCTIONS=true
43
44# Uncomment the following line to disable colors in ls.
45# DISABLE_LS_COLORS="true"
46
47# Uncomment the following line to disable auto-setting terminal title.
48# DISABLE_AUTO_TITLE="true"
49
50# Uncomment the following line to enable command auto-correction.
51# ENABLE_CORRECTION="true"
52
53# Uncomment the following line to display red dots whilst waiting for completion.
54# COMPLETION_WAITING_DOTS="true"
55
56# Uncomment the following line if you want to disable marking untracked files
57# under VCS as dirty. This makes repository status check for large repositories
58# much, much faster.
59# DISABLE_UNTRACKED_FILES_DIRTY="true"
60
61# Uncomment the following line if you want to change the command execution time
62# stamp shown in the history command output.
63# You can set one of the optional three formats:
64# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
65# or set a custom format using the strftime function format specifications,
66# see 'man strftime' for details.
67# HIST_STAMPS="mm/dd/yyyy"
68
69# Would you like to use another custom folder than $ZSH/custom?
70# ZSH_CUSTOM=/path/to/new-custom-folder
71
72# Which plugins would you like to load?
73# Standard plugins can be found in ~/.oh-my-zsh/plugins/*
74# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
75# Example format: plugins=(rails git textmate ruby lighthouse)
76# Add wisely, as too many plugins slow down shell startup.
77plugins=(git sudo extract python common-aliases)
78
79source $ZSH/oh-my-zsh.sh
80
81# User configuration
82
83# export MANPATH="/usr/local/man:$MANPATH"
84
85# You may need to manually set your language environment
86# export LANG=en_US.UTF-8
87
88# Preferred editor for local and remote sessions
89# if [[ -n $SSH_CONNECTION ]]; then
90# export EDITOR='vim'
91# else
92# export EDITOR='mvim'
93# fi
94
95# Compilation flags
96# export ARCHFLAGS="-arch x86_64"
97
98# Set personal aliases, overriding those provided by oh-my-zsh libs,
99# plugins, and themes. Aliases can be placed here, though oh-my-zsh
100# users are encouraged to define aliases within the ZSH_CUSTOM folder.
101# For a full list of active aliases, run `alias`.
102#
103# Example aliases
104# alias zshconfig="mate ~/.zshrc"
105# alias ohmyzsh="mate ~/.oh-my-zsh"
106alias key="vim $HOME/.config/sxhkd/sxhkdrc"
107alias wm="vim ~/.config/bspwm/bspwmrc"
108alias f="ranger"
109alias xi="sudo xbps-install "
110alias xr="sudo xbps-remove -R "
111alias xu="sudo xbps-install -Syu "
112alias xo="sudo xbps-remove -o"
113alias xob="sudo xbps-remove -O"
114alias bb="cat /proc/acpi/bbswitch"
115alias ncu="sudo nmcli connection up "
116alias ncd="sudo nmcli connection down "
117alias pg="ping google.com"
118alias py="/bin/python"
119alias pubip="curl ipinfo.io/ip"
120alias k="pkill "
121alias m="cmus"
122alias vimrc="vim $HOME/.config/nvim/init.vim"
123alias poly="vim $HOME/.config/polybar/config"
124alias todo="cat ~/Projects/todo"
125alias z="zathura"
126alias v="/usr/bin/nvim"
127alias site="cd ~/Projects/site/"
128alias mt="udisksctl mount -b /dev/sda5"
129alias sudo="sudo "
130
131source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
132source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
133
134
135# Import colorscheme from 'wal' asynchronously
136# & # Run the process in the background.
137# ( ) # Hide shell job control messages.
138#(cat ~/.cache/wal/sequences &)
139
140# Alternative (blocks terminal for 0-3ms)
141#cat ~/.cache/wal/sequences
142
143# To add support for TTYs this line can be optionally added.
144#source ~/.cache/wal/colors-tty.sh