yash: add config for yash shell
This commit is contained in:
@@ -46,5 +46,5 @@ tai() {
|
||||
}
|
||||
|
||||
vf() {
|
||||
vis "+fzf-files auto-files '$1'"
|
||||
vis "+fzf-files auto-files $@"
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
3
yash/.config/yash/profile
Normal file
3
yash/.config/yash/profile
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
[ -e ~/.profile ] && . ~/.profile
|
||||
17
yash/.config/yash/rc
Normal file
17
yash/.config/yash/rc
Normal file
@@ -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)"
|
||||
Reference in New Issue
Block a user