-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
40 lines (31 loc) · 1.09 KB
/
.zshrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
# Path to your oh-my-zsh installation.
export ZSH=${XDG_CONFIG_HOME:-$HOME/.config}/.oh-my-zsh
export PATH=$HOME/bin:/usr/local/bin:$PATH
export ZSH_CUSTOM=${ZSH_CUSTOM:-$XDG_CONFIG_HOME/.oh-my-zsh/custom}
export THEME_DIR=$ZSH_CUSTOM/themes
export PLUGIN_DIR=$ZSH_CUSTOM/plugins
[[ ! -f ~/.p10k.zsh ]] || source $ZSH/.p10k.zsh
DISABLE_UNTRACKED_FILES_DIRTY="true"
ZSH_THEME="powerlevel10k/powerlevel10k"
plugins=(git)
# alias dot='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
# alias vim=nvim
alias cls=clear
alias dot=~/dotfiles/
alias zshconf=~/.zshrc
gitgo(){
git status &&
git add --all &&
git commit --all -m "Bump" &&
git push
}
updot() {
dot
git pull origin master # Pull updates from your dotfiles repository
# Add similar commands for updating plugins and themes if they are in separate repositories
}
source $ZSH/oh-my-zsh.sh
source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme