Last active
March 15, 2022 04:34
-
-
Save doituikhovai/b8bbd04c6854c6442603c16a8cef55cd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Install execution script to PC | |
mkdir ~/.scripts | |
mkdir ~/bin | |
vim ~/.scripts/ws | |
# Copy execution script gist to this file | |
install ~/.scripts/ws ~/bin/ws | |
## Add completion | |
vim ~/.scrtipts/ws.bash | |
# Copy completion gist to ws.bash | |
# Add command to .bashrc | |
`source ~/.scripts/ws.bash` | |
source ~/.bashrc | |
# If source fail with err 's/\r//' | |
sed -i 's/\r//' ~/.scripts/ws | |
# If using zsh include these codes before add `source ws.bash` line | |
autoload bashcompinit | |
bashcompinit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment