diff options
author | Marc Coquand <marc@mccd.space> | 2024-05-22 11:13:59 -0500 |
---|---|---|
committer | Marc Coquand <marc@mccd.space> | 2024-05-22 11:13:59 -0500 |
commit | 7b41c919294cd9924bd62924f2e1dd3a7fc0f1e9 (patch) | |
tree | df6f6b56b22f77206f32ca99f78e98e697db41f0 | |
parent | 6ae7f049902679834bf810c85172dd6e67acba3f (diff) | |
download | rcm-7b41c919294cd9924bd62924f2e1dd3a7fc0f1e9.tar.gz rcm-7b41c919294cd9924bd62924f2e1dd3a7fc0f1e9.tar.bz2 rcm-7b41c919294cd9924bd62924f2e1dd3a7fc0f1e9.zip |
Update kshrc
-rw-r--r-- | kshrc | 3 | ||||
-rw-r--r-- | profile | 4 |
2 files changed, 5 insertions, 2 deletions
@@ -13,6 +13,9 @@ alias f-commit="fossil commit && fossil git export" PS1='$(git branch 2> /dev/null | grep "^\*" | colrm 1 2 | sed -e "s/$/./")${PWD##*/} ' alias jrnl='stitch -t :journal:' +if [ -x "$(command -v opam)" ]; then + eval $(opam env) +fi eval "$(direnv export bash)" eval "$(zoxide init posix --hook prompt)" @@ -21,7 +21,7 @@ export HISTSIZE=65535 export STITCH_DIRECTORY=/home/mccd/notes export STITCH_GREP_CMD=ugrep +test -r /home/mccd/.opam/opam-init/init.sh && . /home/mccd/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true + if [ "$(tty)" == "/dev/tty1" ]; then exec dbus-run-session hikari; fi -# opam configuration -test -r /home/mccd/.opam/opam-init/init.sh && . /home/mccd/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true |