fix up dots for nostromo
j3s j3s@c3f.net
Sat, 07 Mar 2020 13:04:52 -0600
2 files changed,
8 insertions(+),
4 deletions(-)
M
.shinit
→
.shinit
@@ -4,7 +4,7 @@ paleta -r
export EDITOR=vim export PS1='$(short-pwd)$ ' -export PATH="$HOME/bin/$(hostname -s):$HOME/bin:$PATH" +export PATH="$HOME/bin/$(hostname):$HOME/bin:$PATH" export HISTFILESIZE=10000 export PASH_KEYID=j3s@c3f.net@@ -15,11 +15,15 @@ alias startx='ssh-agent startx'
alias vi=vim alias ls='CLICOLOR=1 ls' +# mksh +if echo "$SHELL" | grep -q "mksh"; then + bind '^L=clear-screen' + export HISTFILE="$HOME/.mksh-history" +fi + # bby if [ "$(uname -s)" == "Darwin" ]; then - bind '^L=clear-screen' alias cdr='cd $(find ~/git/chef/cloud-roles ~/git/chef/site-cookbooks ~/git/chef/app-cookbooks ~/git/chef/dc-roles -type d -maxdepth 1 | selecta)' - export HISTFILE="$HOME/.mksh-history" export CHEFUSER="jolson" export SSHUSER="jolson" export SSHKEY="~/.ssh/id_rsa"
M
bin/short-pwd
→
bin/short-pwd
@@ -3,4 +3,4 @@ #
# /s/h/o/rtness term=$(printf "$PWD" | sed -E 's|(\.?[^/])([^/]+)\/|\1/|g') -printf "\033[38;5;162m$term\e[0m" +printf "\033[38;5;162m$term\033[0m"