From 968fca7dafc4162e27efb6c6de62c403e8d85ace Mon Sep 17 00:00:00 2001 From: Graham Helton Date: Mon, 10 Apr 2023 19:28:58 -0400 Subject: [PATCH] Added .zshrc --- .zshrc | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .zshrc diff --git a/.zshrc b/.zshrc new file mode 100644 index 0000000..e983cd2 --- /dev/null +++ b/.zshrc @@ -0,0 +1,45 @@ +# If you come from bash you might have to change your $PATH. Test +# export PATH=$HOME/bin:/usr/local/bin:$PATH + +# Path to your oh-my-zsh installation. +export ZSH="/home/smores/.oh-my-zsh" +ZSH_THEME="essembeh" + +plugins=( + git + autojump + zsh-autosuggestions + k +) +source $ZSH/oh-my-zsh.sh +[[ -s /home/smores/.autojump/etc/profile.d/autojump.sh ]] && source /home/smores/.autojump/etc/profile.d/autojump.sh + autoload -U compinit && compinit -u +alias neofetch="neofetch --source ~/.config/neofetch/fire.txt" +alias open="xdg-open . 2>/dev/null" +alias lf=lfub +alias vim="nvim" +alias wm="python3 webManager.py" + + + +export GOPATH=$HOME/go +export GOROOT=/usr/lib/go +export PATH=$PATH:$GOROOT/bin:$GOPATH/bin + + +[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh +export VAGRANT_DEFAULT_PROVIDER=virtualbox + +function DL(){ + variable1=$(echo ~/Downloads/$(ls -ltr ~/Downloads | tail -n1 | awk {"print \$9"})); + echo $variable1; +} + +# Exports +export nvimconf='~/.config/nvim/init.vim' +# Alias +alias es='nvim src/main.rs' +alias ec='nvim Cargo.toml' +alias bat='bat --theme=gruvbox-dark' +alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' +alias dotfiles='/usr/bin/git --git-dir=/home/smores/.dotfiles/ --work-tree=/home/smores'