File tree 1 file changed +19
-0
lines changed
1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ impressive set of features. Download and install iTerm2 from
11
11
``` bash
12
12
/usr/bin/ruby -e " $( curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install) "
13
13
brew install git wget
14
+ brew install tree # optional package for directory listing
14
15
```
15
16
16
17
### Install Z Shell
@@ -97,6 +98,24 @@ export NVM_DIR="$HOME/.nvm"
97
98
export PATH=" $HOME /.yarn/bin:$HOME /.config/yarn/global/node_modules/.bin:$PATH "
98
99
```
99
100
101
+ ** Optional**
102
+ Add the following command shortcuts at the end of .zshrc
103
+
104
+ ``` bash
105
+ # ----- Command Shortcuts -----
106
+ # preferred 'ls' implementation
107
+ alias ll=' ls -FGlAhp'
108
+
109
+ # recursive directory listing
110
+ alias lr=' ls -R | grep ":$" | sed -e ' \' ' s/:$//' \' ' -e ' \' ' s/[^-][^\/]*\//--/g' \' ' -e ' \' ' s/^/ /' \' ' -e ' \' ' s/-/|/' \' ' | less'
111
+
112
+ # better directory listing
113
+ alias ltree=' tree --dirsfirst -F -a'
114
+
115
+ # preferred 'ps' implementation
116
+ alias pc=' ps -e -o user,pid,comm'
117
+ ```
118
+
100
119
### Try building a React app
101
120
102
121
Clone the
You can’t perform that action at this time.
0 commit comments