commit 33ae4ce3b8732d5075663d848143834016c8bf84 from: the xhr date: Thu Sep 08 13:25:55 2022 UTC Also cover macOS here commit - fc7e7f2de1455794b64df2a8650f5b1e086996e1 commit + 33ae4ce3b8732d5075663d848143834016c8bf84 blob - e0c24f7868ef6a9269c7d7fcfb561648f1a85845 blob + 7500df6cb0ef95c4ca64ba31049e2dd996657023 --- .kshrc +++ .kshrc @@ -31,6 +31,12 @@ elif [[ $(uname -s) == "OpenBSD" ]]; then # Enable SIGINFO with ^T stty status ^T +elif [[ $(uname -s) == "Darwin" ]]; then + alias ls='$LS -G' + alias ll='$LS -GFlho' + + bind '^L'=clear-screen + export MACPATH=/opt/homebrew/bin/:/opt/homebrew/sbin elif [[ $(uname -s) == "FreeBSD" ]]; then alias ls='$LS -G' alias ll='$LS -GFlho' @@ -489,7 +495,7 @@ HISTSIZE=30000 HISTFILE=$HOME/.sh_history HISTCONTROL=ignoredups:ignorespace BLOCKSIZE=M -PATH=$HOME/Documents/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin +PATH=$HOME/Documents/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:$MACPATH LESSSECURE=1 PAGER='less -JWAceX' LESS='-Xa'