24 lines
776 B
Text
24 lines
776 B
Text
Use this file as a post-it for packages to install on laptop/desktop.
|
|
|
|
add notation about awk as
|
|
Select everything but the second field:
|
|
awk '!($2="")'
|
|
|
|
add notation about tr (translate command):
|
|
replace every newline with a single space:
|
|
tr '\n' ' '
|
|
|
|
add notation about using find to list only files in current directory and NOT subdirectory:
|
|
find $dir -maxdepth 1 -type f
|
|
|
|
Install zsh-completions-git
|
|
|
|
in your home directory:
|
|
|
|
git clone --depth 1 -- https://github.com/marlonrichert/zsh-autocomplete.git ~/.zsh/zsh-autocomplete
|
|
|
|
Inside your .zsh file, you should already have called this plugin:
|
|
|
|
source ~/.zsh/zsh-autocomplete/zsh-autocomplete.plugin.zsh-completions-git
|
|
|
|
The rest can be sourced from your files here in zsh directory, just cp it into your ~/.zsh directory
|