shell: add aliases for ash shell

This commit is contained in:
2026-07-17 22:16:28 +02:00
parent 4719e8d355
commit 6e82a49ba6
2 changed files with 7 additions and 0 deletions

5
shell/.ashrc Normal file
View File

@@ -0,0 +1,5 @@
alias k=kak
alias kc='kak -c "$(kak -l | fzf)"'
alias kd='kak -s "$(printf %s $PWD | xargs basename)"'
alias lg=lazygit
alias z='cd $(fzf --walker dir --walker-root ~)'

View File

@@ -38,6 +38,8 @@ fi
export GOPATH=~/.cache/go export GOPATH=~/.cache/go
export GOBIN=~/.local/bin export GOBIN=~/.local/bin
export ENV=~/.ashrc
# start X or Hyprland at login # start X or Hyprland at login
if [ -z "$DISPLAY" -a -z "$WAYLAND_DISPLAY" -a "$(tty)" = /dev/tty1 ]; then if [ -z "$DISPLAY" -a -z "$WAYLAND_DISPLAY" -a "$(tty)" = /dev/tty1 ]; then
if which /usr/bin/sx > /dev/null; then if which /usr/bin/sx > /dev/null; then