-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexecutable_dot_zshrc
More file actions
56 lines (45 loc) · 1.36 KB
/
executable_dot_zshrc
File metadata and controls
56 lines (45 loc) · 1.36 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
# oh-my-zsh setup
ZSH=$HOME/.oh-my-zsh
source $ZSH/oh-my-zsh.sh
# source $HOME/.dotfiles/zsh/plugins/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh
PATH="$PATH:$HOME/.local/bin"
export EDITOR='nvim'
export PATH
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
. "$HOME/.cargo/env"
setopt NO_AUTO_PUSHD
setopt NO_CORRECT
plugins=(
git
zsh-autosuggestions
zsh-completions
)
# History and aliases
HISTFILE=$HOME/.cache/zsh_history
source ~/.alias
# Plugins
eval "$(zoxide init zsh)"
eval "$(starship init zsh)"
# Exports
export BAT_THEME="tokyonight-storm"
export MANPATH=/usr/local/share/man:/usr/share/man:$MANPATH
# Bindings
bindkey "^P" up-line-or-beginning-search
bindkey "^N" down-line-or-beginning-search
# The following lines were added by compinstall
zstyle :compinstall filename '/home/gheadley/.zshrc'
fpath=(~/.zsh/completion $fpath)
autoload -Uz compinit
if [[ -n ${ZDOTDIR}/.zcompdump(#qN.mh+24) ]]; then
compinit;
else
compinit -C;
fi
# End of lines added by compinstall
function zr () { zellij run --name "$*" -- zsh -ic "$*";}
function zrf () { zellij run --name "$*" --floating -- zsh -ic "$*";}
function ze () { zellij edit "$*";}
function zef () { zellij edit --floating "$*";}
export MODULAR_HOME="/Users/gheadley/.modular"
export PATH="/Users/gheadley/.modular/pkg/packages.modular.com_mojo/bin:$PATH"
eval "$(mise activate)"