문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 다음 판 양쪽 다음 판 | ||
linux:directory_navigation [2014/08/08 09:28] kwon37xi |
linux:directory_navigation [2014/08/28 14:47] kwon37xi |
||
---|---|---|---|
줄 9: | 줄 9: | ||
</ | </ | ||
+ | ===== Mark/ | ||
+ | * [[http:// | ||
+ | * '' | ||
+ | export MARKPATH=$HOME/ | ||
+ | function jump { | ||
+ | cd -P " | ||
+ | } | ||
+ | function jopen { | ||
+ | thunar | ||
+ | } | ||
+ | function mark { | ||
+ | mkdir -p " | ||
+ | } | ||
+ | function unmark { | ||
+ | rm -i " | ||
+ | } | ||
+ | function marks { | ||
+ | ls -l " | ||
+ | } | ||
+ | _completemarks() { | ||
+ | local curw=${COMP_WORDS[COMP_CWORD]} | ||
+ | local wordlist=$(find $MARKPATH -type l -printf " | ||
+ | COMPREPLY=($(compgen -W ' | ||
+ | return 0 | ||
+ | } | ||
+ | complete -F _completemarks jump unmark | ||
+ | </ | ||
+ | * usage< | ||
+ | cd ~/ | ||
+ | mark deep | ||
+ | |||
+ | # This adds a symbolic link named deep to the directory ~/.marks. To jump to this directory, type the following from any place in the filesystem: | ||
+ | jump deep | ||
+ | |||
+ | # To remove the bookmark (i.e., the symbolic link), type: | ||
+ | unmark deep | ||
+ | |||
+ | # You can view all marks by typing: | ||
+ | marks | ||
+ | </ | ||
+ | ===== 기타 ===== | ||
+ | * https:// | ||
+ | * https:// |