From 69ccbe77df34eabe6d909bea0aace445ff2ce7e8 Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Thu, 9 May 2024 17:10:18 -0500 Subject: Add KSH support --- kshrc | 15 +++++++++++++++ profile | 20 ++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 kshrc create mode 100644 profile diff --git a/kshrc b/kshrc new file mode 100644 index 0000000..7c24731 --- /dev/null +++ b/kshrc @@ -0,0 +1,15 @@ +eval "$(zoxide init posix --hook prompt)" +export PATH=${PATH}:~/.local/bin +export GPG_TTY=/dev/pts/0 +gpg-connect-agent updatestartuptty /bye >/dev/null +alias grep="ugrep --exclude-dir=node-modules --exclude-dir=_build" +alias e="$EDITOR" +alias g="git" +alias rcup="rcup -d ~/rcm" +alias lsrc="lsrc -d ~/rcm" +alias rcdn="rcdn -d ~/rcm" +alias mkrc="mkrc -d ~/rcm" +alias infols="inxi -S -c 0" +alias f-commit="fossil commit && fossil git export" +PS1=' $(git branch 2> /dev/null | grep "^\*" | colrm 1 2 | sed -e "s/$/./")${PWD##*/} ' +export SHELL='oksh' diff --git a/profile b/profile new file mode 100644 index 0000000..8238f8c --- /dev/null +++ b/profile @@ -0,0 +1,20 @@ +if [ -e /home/mccd/.nix-profile/etc/profile.d/nix.sh ]; then . /home/mccd/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer + +export LIBSEAT_BACKEND=logind +export EDITOR="zile" +export TERM="linux" +export TERMINAL="foot" +export GDK_DPI_SCALE="1.5" +export GDK_SCALE="1.5" +export QT_QPA_PLATFORM=wayland-egl +export MOZ_ENABLE_WAYLAND="1" +export XCURSOR_SIZE="32" +export XDG_CURRENT_DESKTOP="wlroots" +export XDG_SESSION_TYPE="wayland" +export PF_INFO="ascii title os pkgs shell" +export PF_ALIGN="7" +export PF_COLOR="0" + +export ENV=$HOME/.kshrc +emacs --daemon +if [ "$(tty)" == "/dev/tty1" ]; then exec dbus-run-session hikari; fi -- cgit v1.2.3