diff --git a/shell/.config/shellconfig/aliases.sh b/shell/.config/shellconfig/aliases.sh index 19e0827..04d6c4f 100644 --- a/shell/.config/shellconfig/aliases.sh +++ b/shell/.config/shellconfig/aliases.sh @@ -46,5 +46,5 @@ tai() { } vf() { - vis "+fzf-files auto-files '$1'" + vis "+fzf-files auto-files $@" } diff --git a/shell/.profile b/shell/.profile index de4fc30..7f9659c 100644 --- a/shell/.profile +++ b/shell/.profile @@ -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 diff --git a/yash/.config/yash/profile b/yash/.config/yash/profile new file mode 100644 index 0000000..234901e --- /dev/null +++ b/yash/.config/yash/profile @@ -0,0 +1,3 @@ +#!/bin/sh + +[ -e ~/.profile ] && . ~/.profile diff --git a/yash/.config/yash/rc b/yash/.config/yash/rc new file mode 100644 index 0000000..886af11 --- /dev/null +++ b/yash/.config/yash/rc @@ -0,0 +1,17 @@ +# Firstly, load the common customization script. +. --autoload --no-alias initialization/common + +LANG=pl_PL.UTF-8 + +set -o vi + +[ -e ~/.config/shellconfig/aliases.sh ] && . ~/.config/shellconfig/aliases.sh + +# Clear the screen with Ctrl-L. +bindkey --emacs '\^L' clear-and-redraw-all +bindkey --vi-insert '\^L' clear-and-redraw-all +bindkey --vi-command '\^L' clear-and-redraw-all + +# And add your own customization below. + +eval "$(zoxide init posix --hook prompt)"