diff --git a/.config/zsh/.zshenv b/.config/zsh/.zshenv index 654463f..4366349 100644 --- a/.config/zsh/.zshenv +++ b/.config/zsh/.zshenv @@ -32,6 +32,9 @@ export PATH="$HOME/.ghcup/bin:$PATH" export PATH="$HOME/.miniforge3/bin:$PATH" export PATH="$HOME/.cabal/bin:$PATH" +export GOPATH="$HOME/go" +export GOBIN="$GOPATH/bin" + #Android stuff export ANDROID_HOME=~/android/sdk export ANDROID_TOOLS_PATHS=$ANDROID_HOME/cmdline-tools/latest/bin: diff --git a/.config/zsh/functions.zsh b/.config/zsh/functions.zsh index 2374f31..a6b7735 100644 --- a/.config/zsh/functions.zsh +++ b/.config/zsh/functions.zsh @@ -45,3 +45,14 @@ function qmk_flash_left(){ } alias nvim_update='nvim --headless "+Lazy! sync" +qa' + +alias ..="cd .." + +function cd() +{ + builtin cd "$@" && ls; +} + + + + diff --git a/.zshenv b/.zshenv index 2f5e933..59c76e6 100644 --- a/.zshenv +++ b/.zshenv @@ -1,2 +1,3 @@ -export XDG_CONFIG_HOME="$HOME/.config" -export ZDOTDIR="$XDG_CONFIG_HOME/zsh" +export XDG_CONFIG_HOME="$HOME"/.config +export ZDOTDIR="$XDG_CONFIG_HOME"/zsh +source "$ZDOTDIR"/.zshenv