diff options
author | Matthew Lemon <chaffinach+git@protonmail.ch> | 2022-04-20 09:09:37 +0100 |
---|---|---|
committer | Matthew Lemon <chaffinach+git@protonmail.ch> | 2022-04-20 09:09:37 +0100 |
commit | 8994fd417c877e701824e142a92dbe10304a462e (patch) | |
tree | f71aceff0a973b160a3223d946234b97f526ae27 | |
parent | 3d79bde7482a1d96745a4631e5bacf12ad70df6b (diff) |
added go bin, amended flag on a func
Diffstat (limited to '')
-rw-r--r-- | bashrc | 18 |
1 files changed, 12 insertions, 6 deletions
@@ -19,6 +19,11 @@ if [ -d "$HOME/bin" ] ; then PATH="$HOME/bin:$PATH" fi +# add GOBIN +if [ -d "$HOME/go/bin" ] ; then + PATH="$PATH:$HOME/go/bin" +fi + # don't put duplicate lines or lines starting with space in the history. # See bash(1) for more options HISTCONTROL=ignoreboth @@ -31,11 +36,12 @@ HISTSIZE=1000 HISTFILESIZE=20000 # use colorls if it's installed, plain old ls otherwise -if command -v colorls > /dev/null ; then - LS='colorls' -else - LS='ls' -fi +alias ls='colorls -G' +# if command -v colorls > /dev/null ; then +# LS='colorls -G' +# else +# LS='ls' +# fi # check the window size after each command and, if necessary, # update the values of LINES and COLUMNS. @@ -75,7 +81,7 @@ reveal () { # journal funcs todj () { CMD=cat - if [[ $1 = "-vim" ]]; then + if [[ $1 = "-v" ]]; then CMD=vim fi $CMD $(find /home/lemon/Notes/journal -name "*$(date '+%Y-%m-%d')*") |