I hereby claim:
- I am kimocode on github.
- I am kareem (https://keybase.io/kareem) on keybase.
- I have a public key whose fingerprint is 33A6 87B5 A8F2 1ACF F77B 3EA5 B14A 9C8D F7A1 9CA4
To claim this, I am signing this object:
useHistory() { | |
egrep -v '^top$|^pwd$|^ls$|^ll$|^l$|^lt$|^dir$|^cd |^h$|^gh$|^h |^bg$|^fg$|^qsm$|^quser$|^cStat|^note |^mutt|^std ' | wc -l | tr -d ' \n' | |
} | |
owner() { | |
ls -ld "${1:-$PWD}" | awk '{print $3}' | |
} | |
lasthistoryline() { | |
history | tail -1 | sed 's:^ *[0-9]* *::g' | |
} |
I hereby claim:
To claim this, I am signing this object:
### Keybase proof | |
I hereby claim: | |
* I am kimocode on github. | |
* I am kareem (https://keybase.io/kareem) on keybase. | |
* I have a public key whose fingerprint is 33A6 87B5 A8F2 1ACF F77B 3EA5 B14A 9C8D F7A1 9CA4 | |
To claim this, I am signing this object: |
# Find a file with a given name and open it in vim. Search is recursive. If | |
# multiple results are found, user is allowed to choose one. | |
# $1 = partial case sensitive filename | |
function openit { | |
FILE="/tmp/vim.file"; | |
find . type f -name "*$1*" > $FILE; | |
LEN=$(wc -l < $FILE); | |
if [ $LEN -eq 0 ]; then | |
echo "No results found :("; |