diff options
Diffstat (limited to '')
-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 |