[zsh] ls on cd and zshenv fix
This commit is contained in:
parent
c4ab75c313
commit
c8ba56a524
3 changed files with 17 additions and 2 deletions
|
@ -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:
|
||||
|
|
|
@ -45,3 +45,14 @@ function qmk_flash_left(){
|
|||
}
|
||||
|
||||
alias nvim_update='nvim --headless "+Lazy! sync" +qa'
|
||||
|
||||
alias ..="cd .."
|
||||
|
||||
function cd()
|
||||
{
|
||||
builtin cd "$@" && ls;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
5
.zshenv
5
.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
|
||||
|
|
Loading…
Reference in a new issue