From a40dd61807a92646f932787f66574e4b554c5de1 Mon Sep 17 00:00:00 2001 From: spinach <19keegandeppe@gmail.com> Date: Mon, 10 Apr 2023 12:04:18 -0400 Subject: [PATCH] zshrc changes and correct transparent toggle func --- shells/zsh/zshrc | 52 ++++++++++++++++++++++++------------------------ 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/shells/zsh/zshrc b/shells/zsh/zshrc index d93895d..9e8cc7e 100644 --- a/shells/zsh/zshrc +++ b/shells/zsh/zshrc @@ -25,18 +25,27 @@ export GOPATH="$HOME/.local/share/go" # Path to your oh-my-zsh installation. export ZSH="$HOME/.oh-my-zsh" +# Would you like to use another custom folder than $ZSH/custom? +export ZSH_CUSTOM=$HOME/.local/share/oh-my-zsh/custom + plugins=( zsh-autosugggestions ) -# Set name of the theme to load --- if set to "random", it will -# load a random theme each time oh-my-zsh is loaded, in which case, -# to know which specific one was loaded, run: echo $RANDOM_THEME -# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes - -#list of good themes [amuse,aussiegeek,passion] +# ZSH theme ZSH_THEME="powerlevel10k/powerlevel10k" +# Which plugins would you like to load? +# Standard plugins can be found in $ZSH/plugins/ +# Custom plugins may be added to $ZSH_CUSTOM/plugins/ +# Example format: plugins=(rails git textmate ruby lighthouse) +# Add wisely, as too many plugins slow down shell startup. +plugins=( + zsh-autosuggestions + git +) + +source $ZSH/oh-my-zsh.sh # Uncomment the following line to use hyphen-insensitive completion. # Case-sensitive completion must be off. _ and - will be interchangeable. # HYPHEN_INSENSITIVE="true" @@ -54,20 +63,7 @@ ZSH_THEME="powerlevel10k/powerlevel10k" # see 'man strftime' for details. # HIST_STAMPS="mm/dd/yyyy" -# Would you like to use another custom folder than $ZSH/custom? -ZSH_CUSTOM=$HOME/.local/share/oh-my-zsh/custom -# Which plugins would you like to load? -# Standard plugins can be found in $ZSH/plugins/ -# Custom plugins may be added to $ZSH_CUSTOM/plugins/ -# Example format: plugins=(rails git textmate ruby lighthouse) -# Add wisely, as too many plugins slow down shell startup. -plugins=( - zsh-autosuggestions - git -) - -source $ZSH/oh-my-zsh.sh # export LANG=en_US.UTF-8 @@ -84,14 +80,12 @@ source $ZSH/oh-my-zsh.sh # # switching to neovim alias vim="nvim" -# helpful aliasis -alias ifconfig="/sbin/ifconfig" -# git stuff -alias gadd="git add ." -alias gbug="git add . && git commit -m 'bug fixes'" -alias gp="git push" -# bb ip remove + +# helpful aliasis +#alias ifconfig="/sbin/ifconfig" + +# bb ip remove work related alias bbrm='ssh-keygen -f "/home/kdeppe/.ssh/known_hosts" -R "192.168.7.2"' # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. @@ -114,3 +108,9 @@ alias vimwiki="nvim '+cd %:p:h' $HOME/vimwiki/index.md" # yt-dlp alias for simplicity alias yt-vid="yt-dlp -P $HOME/media/video" alias yt-mu="yt-dlp -P $HOME/media/music -x -f m4a/bestaudio --add-metadata --recode mp4" + +# git aliases +alias gadd="git add ." +alias gbug="git add . && git commit -m 'bug fixes'" +alias gp="git push" +alias glog="git log --pretty --oneline --graph --all --decorate"