[zsh] ls on cd and zshenv fix

This commit is contained in:
Afonso Franco 2024-11-28 18:33:21 +00:00
parent c4ab75c313
commit c8ba56a524
Signed by: afonso
SSH key fingerprint: SHA256:PQTRDHPH3yALEGtHXnXBp3Orfcn21pK20t0tS1kHg54
3 changed files with 17 additions and 2 deletions

View file

@ -32,6 +32,9 @@ export PATH="$HOME/.ghcup/bin:$PATH"
export PATH="$HOME/.miniforge3/bin:$PATH" export PATH="$HOME/.miniforge3/bin:$PATH"
export PATH="$HOME/.cabal/bin:$PATH" export PATH="$HOME/.cabal/bin:$PATH"
export GOPATH="$HOME/go"
export GOBIN="$GOPATH/bin"
#Android stuff #Android stuff
export ANDROID_HOME=~/android/sdk export ANDROID_HOME=~/android/sdk
export ANDROID_TOOLS_PATHS=$ANDROID_HOME/cmdline-tools/latest/bin: export ANDROID_TOOLS_PATHS=$ANDROID_HOME/cmdline-tools/latest/bin:

View file

@ -45,3 +45,14 @@ function qmk_flash_left(){
} }
alias nvim_update='nvim --headless "+Lazy! sync" +qa' alias nvim_update='nvim --headless "+Lazy! sync" +qa'
alias ..="cd .."
function cd()
{
builtin cd "$@" && ls;
}

View file

@ -1,2 +1,3 @@
export XDG_CONFIG_HOME="$HOME/.config" export XDG_CONFIG_HOME="$HOME"/.config
export ZDOTDIR="$XDG_CONFIG_HOME/zsh" export ZDOTDIR="$XDG_CONFIG_HOME"/zsh
source "$ZDOTDIR"/.zshenv