blob: 93931cbd8f4b80022cdbb840a6d7fa1e4af8db44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
qcd SHORTCUT PATH
qcd -a SHORTCUT PATH
-a: add
So we can still do `qcd shortcut` to `cd`
PATH expands to an absolute directory before saving
shortcut /Absolute/path/to/directory
shortcut /Absolute/path/to/directory
shortcut /Absolute/path/to/directory
shortcut /Absolute/path/to/directory
shortcut /Absolute/path/to/directory
Go to:
Search for shortcut, get column 2, cd to it
Remove shortcut:
qcd -r SHORTCUT
Search for shortcut, remove that line
--How to remove the line?
Change shortcut:
qcd -c SHORTCUT PATH
Use sed?
|