From fccb5ed1ebf97ae16727cb88308b5a2b826006ee Mon Sep 17 00:00:00 2001 From: Huck Boles Date: Tue, 25 Apr 2023 11:59:38 -0500 Subject: [PATCH] cleanup --- .zshenv | 23 ----------------------- .zshrc | 2 -- include/aliases.zsh | 8 ++------ include/functions.zsh | 1 + 4 files changed, 3 insertions(+), 31 deletions(-) diff --git a/.zshenv b/.zshenv index a065e23..046732a 100644 --- a/.zshenv +++ b/.zshenv @@ -44,9 +44,6 @@ export VISUAL="/usr/bin/nvim" export BROWSER="/usr/bin/firefox" export EMAIL='huck@huck.website' -# vim config -export MYVIMRC="$XDG_CONFIG_HOME/nvim/init.lua" - # config paths export GTK_2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc" export LESSHISTFILE="$XDG_STATE_HOME/less/history" @@ -58,23 +55,3 @@ export CUDA_CACHE_PATH="$XDG_CACHE_HOME/nv" # zoxide export _ZO_ECHO='1' export _ZO_RESOLVE_SYMLINKS='1' - -# 16 theme colors -export BACKGROUND='#151515' -export FOREGROUND='#d7d0c7' -export BLACK='#101010' -export GREY='#404040' -export RED='#e84f4f' -export BRRED='#d23d3d' -export GREEN='#b8d68c' -export BRGREEN='#a0cf5d' -export YELLOW='#e1aa5d' -export BRYELLOW='#f39d21' -export BLUE='#4D88FF' -export BRBLUE='#2B76D4' -export MAGENTA='#9b64fb' -export BRMAGENTA='#8542ff' -export CYAN='#00CCCC' -export BRCYAN='#21d6c7' -export WHITE='#909090' -export BRWHITE='#dddddd' diff --git a/.zshrc b/.zshrc index bcf2641..5cafc87 100644 --- a/.zshrc +++ b/.zshrc @@ -6,8 +6,6 @@ ZSHEXTRA=$ZSH/extra ZSHINCLUDE=$ZSH/include [[ ! -d $ZSH ]] && mkdir $ZSH/{cache,extra,include} -fpath+="$ZSHEXTRA/zfunc" - # source files from include dir for file in $ZSHINCLUDE/*; do . ${file}; done diff --git a/include/aliases.zsh b/include/aliases.zsh index 94d65eb..c356776 100644 --- a/include/aliases.zsh +++ b/include/aliases.zsh @@ -9,7 +9,7 @@ alias reload='source $ZSH/.zshrc' alias quit='disown -a && exit' alias :q='exit' -# convinience aliases +# convenience aliases alias v='nvim' alias sv='sudoedit' alias vsesh='nvim -S' @@ -21,7 +21,7 @@ alias h='history 0' alias j='jobs -l' alias c='clear' alias ear='clear' -alias zc='z;clear' +alias zc='cd;clear' alias make='make -j16 -l6 CFLAGS="-march=bdver1"' alias dust='dust -rb' @@ -37,10 +37,6 @@ alias ip='ip --color=auto' alias grep='grep --color=auto' # tmux aliases -alias tmux='tmux' -alias tlist='tmux list-sessions' -alias tsesh='tmux new-session -s' -alias tkill='tmux kill-session -t' alias tattach='tmux attach-session -t' # config aliases diff --git a/include/functions.zsh b/include/functions.zsh index b382f7f..7be567d 100644 --- a/include/functions.zsh +++ b/include/functions.zsh @@ -5,6 +5,7 @@ f() { find . | grep "$1"; } +# wrapper around cd for easier navigation + always show files in dir cd() { z $1 la -- 2.45.2