shell: add aliases for ash shell
This commit is contained in:
5
shell/.ashrc
Normal file
5
shell/.ashrc
Normal 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 ~)'
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user