diff --git a/README.md b/README.md index 09e33c7..f3abd94 100644 --- a/README.md +++ b/README.md @@ -3201,7 +3201,7 @@ tree -d # List directory tree cd foo # Go to foo sub-directory cd # Go to home directory cd ~ # Go to home directory -cd - # Go to last directory +cd - # Go to the previously chosen directory pushd foo # Go to foo sub-directory and add previous directory to stack popd # Go back to directory in stack saved by `pushd` ``` @@ -4027,7 +4027,7 @@ Inspired by RehanSaeed/ - -Previous directory [hyphen]. Go back to previous directory. +Last directory [hyphen]. Go to the previously chosen directory. └─> @@ -4309,8 +4309,8 @@ Inspired by RehanSaeed/ | :--: | :-- | | Ctrl+Y | Scrolls page down | | Ctrl+V | Scrolls page up| -| Alt+\ | Got to beginning of file | -| Alt+/ | Got to end of file | +| Alt+\ | Go to beginning of file | +| Alt+/ | Go to end of file | | Ctrl+H | Delete character before cursor | | Ctrl+D | Erase character under cursor | | Alt+Backspace | Erase word to the left | @@ -4432,47 +4432,47 @@ _**Usage**_ : fd foo -Search in current directory, the string pattern name "foo", in parent|sub directories and files. +Find in current directory, the string pattern name "foo", in parent|sub directories and files. fd foo /FOO2 -Search in "FOO2" directory, the string pattern name "foo", in parent|sub directories and files. +Find in "FOO2" directory, the string pattern name "foo", in parent|sub directories and files. fd -g|--glob foo /FOO2 -Search in "FOO2" directory, the glob pattern name matching "foo", in parent|sub directories and files. +Find in "FOO2" directory, the glob pattern name matching "foo", in parent|sub directories and files. fd /foo -p|--path /FOO2 -Search in "FOO2" directory and view the files and directory paths and its contents that is or starts with the string pattern name "foo". +Find in "FOO2" directory and view the files and directory paths and its contents that is or starts with the string pattern name "foo". fd foo/ -p|--path /FOO2 -Search in "FOO2" directory and view the directory paths and its contents that is or ends with the string pattern name "foo". +Find in "FOO2" directory and view the directory paths and its contents that is or ends with the string pattern name "foo". fd -t|--type -d foo -Search for directory type only. +Find for directory type only. fd -t|--type -f foo -Search for file type only. +Find for file type only. fd -t|--type d -t|--type e foo -Search for empty directories only. +Find for empty directories only. fd -a|--absolute-path foo -Search in current directory showing the full path, the string name "foo", in parent|sub directories and files. +Find in current directory showing the full path, the string name "foo", in parent|sub directories and files. fd -e|--extension txt -Search for a particular file extension. +Find for a particular file extension. fd -H|--hidden foo -Search for hidden and ignored files. +Find for hidden and ignored files. @@ -4504,28 +4504,32 @@ commacd exports three commands: forward(`,`) │ backward(`,,`) │ backward+for _**Usage**_ : | Description | commacd | command | -| :--:| :--: | :-- | +| :--:| :--: | :--: | | Enter directories using| , des | | | abbreviations. | └─> | cd Desktop | | Description | commacd | command | -| :--:| :--: | :-- | +| :--:| :--: | :--: | | Move through multiple directories| , /u/l/ce | | | using abbreviations. | └─> | cd /usr/local/Cellar | | Description | commacd | options | -| :--:| :--: | :-- | +| :--:| :--: | :--: | | Choose directories with names | , d | | | starting with same letter. | 0 | Desktop | | (= multiple choices) | 1 | Documents | | 0, 1 or 2 | 2 | Downloads | | Description | commacd | command | -| :--:| :--: | :-- | +| :--:| :--: | :--: | | Given two directories jdk7 and jdk8 | , ~/d/j*8 | | | on the Desktop, cd into jdk8 without hitting | └─> | cd ~/Desktop/jdk8 | | interactive mode (the one shown above). | | | +| Description | commacd | +| :--:| :--: | +| Go back previous directory | ,, .. | + Tab = Autocomplete >**Note** - More info on usage :