You are not logged in.
What about instead of 'add' use '+' ? Less typing and quicker in creating bookmarks. Also '-' for deleting ones that are no longer used. Not sure it would be of any use but I would like to see where I have jumped too, meaning possibly echo pwd so I am aware of exactly where I am.
Mr Green
Offline
Quickly coded this
function jarvis_delete {
echo "Type an alias you wish to delete, or ^C to quit:"
read delete_alias
# now find the alias you wish to delete
sed -i "/^${delete_alias}=/d" $JARVIS_HOME"/.jarvis"
}
....
# add to case
"-") jarvis_delete;;Mr Green
Offline
oh nice, didn't think of that! + makes a lot of sense. I'm going to put in "echo $PWD" and "+". The "-" will take slightly more effort, but I'll do that one soon too.
Offline
See above post ....
Mr Green
Offline
I even color coded the cwd! lol...
aguo@unix4:~$ j ml
/afs/andrew.cmu.edu/usr9/aguo/Documents/10605
aguo@unix4:~/Documents/10605$
except that /afs/[...] is color coded in blue ![]()
Offline
Oh ok, I just got the code for delete. gimme a sec.
Offline
Updated! Gotta go to sleep right now, but I'll update the README first thing in the morning.
Offline
Feature request, this is from Arch wiki
https://wiki.archlinux.org/index.php/Ba … _ls_in_one
j l? j cl? maybe
Mr Green
Offline
It has been suggested that this thread might more easily be handled in a private email exchange, with a summary posted here instead of the running dialog.
Do what makes sense.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
I was only trying to help but I understand....
Mr Green
Offline