-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmount.sh
executable file
·45 lines (32 loc) · 1.08 KB
/
mount.sh
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
# history setup
HISTFILE=$HOME/.zhistory
SAVEHIST=1000
HISTSIZE=999
setopt share_history
setopt hist_expire_dups_first
setopt hist_ignore_dups
setopt hist_verify
# completion using arrow keys (based on history)
bindkey '^[[A' history-search-backward
bindkey '^[[B' history-search-forward
# dont warn about echoing on new terminal
typeset -g POWERLEVEL9K_INSTANT_PROMPT=quiet
# go
export GOPATH=$HOME/go
export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
# nvm
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# alias code='open -a "Visual Studio Code" .'
# better cd
eval "$(zoxide init zsh)"
#alias cd="z"
alias n="nvim"
# name tmux sessions after the current directory
alias tm='tmux new -s `basename $PWD`'
alias ls="eza --long --header --icons --git --octal-permissions --no-user --no-permissions"
alias sl="screen -ls"
alias cat="bat"
#alias python="$(brew --prefix [email protected])/libexec/bin/python"
source alias ai=~/ai-cli/ai