-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.zshrc
More file actions
88 lines (65 loc) · 2.5 KB
/
.zshrc
File metadata and controls
88 lines (65 loc) · 2.5 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# OH-MY-ZSH >>>>>>>>>>>>>>>>>>>>>>>
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
ZSH_THEME="agnoster"
# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"
# Uncomment the following line to use hyphen-insensitive completion. Case
# sensitive completion must be off. _ and - will be interchangeable.
HYPHEN_INSENSITIVE="true"
# Uncomment the following line to enable command auto-correction.
ENABLE_CORRECTION="false"
# Uncomment the following line to display red dots whilst waiting for completion.
COMPLETION_WAITING_DOTS="true"
# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(
# git # Replaced by aliases.sh
gitfast # faster but less featureful git autocompletion
screen # automatic setting of window titles and status for GNU Screen
sudo # ESC twice: Puts sudo in front of the current command, or the last one if the command line is empty.
bgnotify
wd
z
fzf-z
dotenv
colored-man-pages
#suse
#chucknorris
# non-OMZ plugins
#enhancd
zsh-completions
zsh-autosuggestions
zsh-syntax-highlighting # should be last to source
)
ZSH_DOTENV_PROMPT=false
# Only suggest corrections for commands, not arguments
unsetopt CORRECT
unsetopt CORRECTALL
export ENHANCD_COMMAND=c
ENHANCD_DOT_SHOW_FULLPATH=1
source $ZSH/oh-my-zsh.sh
# OH-MY-ZSH <<<<<<<<<<<<<<<<<<<<<<<
# Aliases >>>>>>>>>>>>>>>>>>>>>>>>>
alias su='ZDOTDIR=/home/pofl/ /bin/su --shell=/usr/bin/zsh'
# <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
export SHELL=zsh
source ~/.aliases.sh
if is_installed fzf; then
source <(fzf --zsh)
fi
if is_installed kubectl; then
source <(kubectl completion zsh)
fi
# The next line updates PATH for the Google Cloud SDK.
if [ -f '/home/pofl/google-cloud-sdk/path.zsh.inc' ]; then . '/home/pofl/google-cloud-sdk/path.zsh.inc'; fi
# The next line enables shell command completion for gcloud.
if [ -f '/home/pofl/google-cloud-sdk/completion.zsh.inc' ]; then . '/home/pofl/google-cloud-sdk/completion.zsh.inc'; fi