Results 1 to 4 of 4
How can I set catalogs names shorcuts for not typing
Code:
cd ~/Documents/work/Evg/biblatex
but
Code:
cd working_dir_shortcut_name...
- 05-16-2009 #1Just Joined!
- Join Date
- Jul 2007
- Posts
- 41
catalogs names shortcuts
How can I set catalogs names shorcuts for not typing
butCode:cd ~/Documents/work/Evg/biblatex
Code:cd working_dir_shortcut_name
- 05-16-2009 #2Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
You could set it as a variable
Or you could have an alias set in your bash profileCode:export workdir=~/Documents/work/Evg/biblatex cd $workdir
Using a variable will just hold the location for you, using an alias will replace the entire command.Code:alias workdir='cd ~/Documents/work/Evg/biblatex' workdir
- 05-16-2009 #3Just Joined!
- Join Date
- Jul 2007
- Posts
- 41
thank you!
- 05-16-2009 #4Just Joined!
- Join Date
- Jul 2007
- Posts
- 41
But can I make autocompletion work like with ~:
When I type cd ~/Do and press Tab it expands to cd /home/netimen/Documents/
Can I have something like this: when I type cd $workdir/n and press Tab it expands to cd ~/Documents/work/Evg/biblatex/new?


Reply With Quote