Attempt to install 'psgrep' but use an alias if not found.
This commit is contained in:
parent
6dea6758a4
commit
478c397cd4
|
@ -7,6 +7,7 @@ brew "htop-osx"
|
||||||
brew "mosh"
|
brew "mosh"
|
||||||
brew "nmap"
|
brew "nmap"
|
||||||
brew "p7zip"
|
brew "p7zip"
|
||||||
|
brew "psgrep"
|
||||||
brew "pv"
|
brew "pv"
|
||||||
brew "python3"
|
brew "python3"
|
||||||
brew "rename"
|
brew "rename"
|
||||||
|
|
2
.bashrc
2
.bashrc
|
@ -115,7 +115,7 @@ export PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND$'\n'}history -a"
|
||||||
#--------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------
|
||||||
alias ll='ls -l'
|
alias ll='ls -l'
|
||||||
[[ -x $(which htop 2>/dev/null) ]] && alias top='sudo htop'
|
[[ -x $(which htop 2>/dev/null) ]] && alias top='sudo htop'
|
||||||
alias psgrep='ps -ef | grep'
|
[[ -x $(which psgrep 2>/dev/null) ]] || alias psgrep='ps -ef | grep'
|
||||||
alias datafart='curl --data-binary @- datafart.com'
|
alias datafart='curl --data-binary @- datafart.com'
|
||||||
#--------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,7 @@ function install_Linux_software {
|
||||||
mosh
|
mosh
|
||||||
nmap
|
nmap
|
||||||
p7zip
|
p7zip
|
||||||
|
psgrep
|
||||||
pv
|
pv
|
||||||
ss
|
ss
|
||||||
vim
|
vim
|
||||||
|
|
Loading…
Reference in a new issue