diff --git a/.bashrc.d/fuck.sh b/.bashrc.d/fuck.sh index 57dcead..14082a0 100644 --- a/.bashrc.d/fuck.sh +++ b/.bashrc.d/fuck.sh @@ -3,6 +3,9 @@ function fuck { local nth_last=${1:-1} if [[ "$nth_last" =~ ^[0-9]+$ ]]; then sudo $(fc -ln -$nth_last -$nth_last) + else + echo "Usage: fuck [offset]" + return 1 fi } diff --git a/.github/README.md b/.github/README.md index 836ccf1..3986348 100644 --- a/.github/README.md +++ b/.github/README.md @@ -26,7 +26,7 @@ git --work-tree=$HOME --git-dir=$HOME/.dotgit checkout master - Status area horizonzal spacing - Vitals -# Missing Features (TODO) +## Missing Features (TODO) - Vim relative line numbering - unset all variables - Initial Setup @@ -38,3 +38,7 @@ git --work-tree=$HOME --git-dir=$HOME/.dotgit checkout master - environment templates? (git.env!) - fix the umask +## Echos to be replaced by msg() +- fuck error msg +- initial setup +