Skip to content

Instantly share code, notes, and snippets.

@masihtehrani
Last active March 12, 2023 06:05
Show Gist options
  • Save masihtehrani/fd743ef0cd8ba3ebb9157615e6eb8696 to your computer and use it in GitHub Desktop.
Save masihtehrani/fd743ef0cd8ba3ebb9157615e6eb8696 to your computer and use it in GitHub Desktop.
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
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="powerlevel10k/powerlevel10k"
plugins=(
autojump
git
cp
fzf
git
golang
pip
sudo
tmux
thefuck
docker
docker-compose
zsh-syntax-highlighting
zsh-autosuggestions
archlinux
dotenv
ansible
salt
vagrant
vagrant-prompt
zsh-navigation-tools
zsh-interactive-cd
yarn
virtualenv
tmux
systemd
symfony
rust
rsync
pyenv
pylint
python
postgres
pep8
perl
pass
npm
nvm
node
nomad
microk8s
minikube
man
kubectl
jsontools
history
helm
gpg-agent
git-flow
git-auto-fetch
emoji-clock
emoji
dotenv
docker-machine
composer
battery
aliases
archlinux
)
source $ZSH/oh-my-zsh.sh
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
export GOPATH="$HOME/Develop/Golang"
export PATH="$GOPATH/bin:$PATH"
export PATH=$PATH:/usr/lib/node_modules
#aliases
alias myip="ip -o route get to 8.8.8.8 | sed -n 's/.*src \([0-9.]\+\).*/\1/p'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment