This commit is contained in:
array-in-a-matrix 2023-08-10 12:57:45 -04:00
parent f7ffa4de41
commit 99bda42aa2
3 changed files with 11 additions and 10 deletions

View file

@ -2,7 +2,7 @@
# corutils # corutils
alias ls="lsd" alias ls="lsd"
alias cat="bat" alias cat="bat"
alias find="fd" alias find="fd -H"
alias rm="trash" alias rm="trash"
alias grep="rg -e" alias grep="rg -e"
alias mktmp="cd $(mktemp -d)" alias mktmp="cd $(mktemp -d)"
@ -11,7 +11,6 @@ alias uptime="uptime --pretty"
# simple aliases # simple aliases
alias vi="vim" alias vi="vim"
alias vim="nvim" alias vim="nvim"
alias tree="tree -a"
alias ip="ip -c" alias ip="ip -c"
alias py="python3" alias py="python3"
alias open="xdg-open" alias open="xdg-open"

View file

@ -45,3 +45,10 @@ export PF_INFO="ascii os kernel uptime de wm shell editor palette"
# use qt file picker # use qt file picker
export GTK_USE_PORTAL=1 export GTK_USE_PORTAL=1
# pnpm
export PNPM_HOME="/home/linux/.local/share/pnpm"
case ":$PATH:" in
*":$PNPM_HOME:"*) ;;
*) export PATH="$PNPM_HOME:$PATH" ;;
esac

View file

@ -48,18 +48,13 @@ source "$XDG_CONFIG_HOME/zsh/icons"
source "$XDG_CONFIG_HOME/zsh/alias" source "$XDG_CONFIG_HOME/zsh/alias"
source "$XDG_CONFIG_HOME/zsh/func" source "$XDG_CONFIG_HOME/zsh/func"
# key binding
bindkey -s '^o' 'lfcd\n' bindkey -s '^o' 'lfcd\n'
bindkey -s '^f' 'dolphin . &> /dev/null & disown\n'
bindkey -s '^x' '&> /dev/null & disown\n'
# zoxide # zoxide
eval "$(zoxide init zsh --cmd cd)" eval "$(zoxide init zsh --cmd cd)"
# bun completions # bun completions
[ -s "/home/linux/.bun/_bun" ] && source "/home/linux/.bun/_bun" [ -s "/home/linux/.bun/_bun" ] && source "/home/linux/.bun/_bun"
# pnpm
export PNPM_HOME="/home/linux/.local/share/pnpm"
case ":$PATH:" in
*":$PNPM_HOME:"*) ;;
*) export PATH="$PNPM_HOME:$PATH" ;;
esac
# pnpm end