summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2024-05-09 17:10:18 -0500
committerMarc Coquand <marc@mccd.space>2024-05-09 17:10:18 -0500
commit69ccbe77df34eabe6d909bea0aace445ff2ce7e8 (patch)
tree8709f23c76dc00fc488617c25a851b454e19e5c9
parentdae5615b67642de1f404a3698109de5f966a9a40 (diff)
downloadrcm-69ccbe77df34eabe6d909bea0aace445ff2ce7e8.tar.gz
rcm-69ccbe77df34eabe6d909bea0aace445ff2ce7e8.tar.bz2
rcm-69ccbe77df34eabe6d909bea0aace445ff2ce7e8.zip
Add KSH support
Diffstat (limited to '')
-rw-r--r--kshrc15
-rw-r--r--profile20
2 files changed, 35 insertions, 0 deletions
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