linux-qubasis
linux oasis port as a qubes template
git clone https://9o.is/git/linux-qubasis.git
commit 3a0020169fbf509372857d7131f4db991d89c915 parent b53fec465546e1d4092482f3eba0d8ceb52b94f6 Author: Jul <jul@9o.is> Date: Tue, 29 Jul 2025 01:25:28 -0400 update yash to make vis the default editor Diffstat:
| M | pkg/yash/config/00-general | | | 14 | ++++++++------ |
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/pkg/yash/config/00-general b/pkg/yash/config/00-general @@ -18,7 +18,6 @@ bindkey --vi-command '\^L' clear-and-redraw-all alias -- -='cd - >/dev/null' alias l='ls -alhGL --group-directories-first --time-style "+%Y-%m-%d"' ll='l' alias tree='tree -a -L 4 --filesfirst --gitignore' -alias se='sudoedit' alias h='fc -l' alias j='jobs' alias o='xdg-open' @@ -31,15 +30,18 @@ rm() if [ -t 0 ]; then command rm -r "$@"; else command rm "$@"; fi df() if [ -t 0 ]; then command df -h "$@"; else command df "$@"; fi du() if [ -t 0 ]; then command du -h "$@"; else command du "$@"; fi mkdir() if [ -t 0 ]; then command mkdir -p "$@"; else command mkdir "$@"; fi -vi() { nvim "$@"; } -view() { nvim -R "$@"; } +vi() { vis "$@"; } sh() { yash --posix "$@"; } yash() { command yash "$@"; } -# define some basic variables if missing -: ${PAGER:=less} ${EDITOR:=vi} ${FCEDIT:=$EDITOR} -: ${LOGNAME:=$(logname)} ${HOSTNAME:=$(uname -n)} +# define some basic variables +PAGER=less +EDITOR=vi +BROWSER=noice + +: ${FCEDIT:=$EDITOR} +: ${LOGNAME:=$(logname)} # set up history HISTFILE=~/.local/state/yash/history