yash: add config for yash shell

This commit is contained in:
2025-10-03 08:07:40 +02:00
parent 3f2951a1ea
commit fb9eece5ce
4 changed files with 24 additions and 2 deletions

View File

@@ -46,5 +46,5 @@ tai() {
}
vf() {
vis "+fzf-files auto-files '$1'"
vis "+fzf-files auto-files $@"
}

View File

@@ -8,6 +8,8 @@
# for ssh logins, install and configure the libpam-umask package.
#umask 022
export LANG=pl_PL.UTF-8
export EDITOR=vis
export VISUAL=vis
@@ -28,7 +30,7 @@ done
export PATH
# start X or Hyprland at login
if [[ -z "$DISPLAY" && -z "$WAYLAND_DISPLAY" && "$XDG_VTNR" -eq 1 ]]; then
if [ -z "$DISPLAY" -a -z "$WAYLAND_DISPLAY" -a "$XDG_VTNR" -eq 1 ]; then
if which Hyprland > /dev/null && [ -d ~/.config/hypr ]; then
exec Hyprland
elif which river > /dev/null && [ -d ~/.config/river ]; then