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 "nmap"
|
||||
brew "p7zip"
|
||||
brew "psgrep"
|
||||
brew "pv"
|
||||
brew "python3"
|
||||
brew "rename"
|
||||
|
|
2
.bashrc
2
.bashrc
|
@ -115,7 +115,7 @@ export PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND$'\n'}history -a"
|
|||
#--------------------------------------------------------------------------------
|
||||
alias ll='ls -l'
|
||||
[[ -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'
|
||||
#--------------------------------------------------------------------------------
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@ function install_Linux_software {
|
|||
mosh
|
||||
nmap
|
||||
p7zip
|
||||
psgrep
|
||||
pv
|
||||
ss
|
||||
vim
|
||||
|
|
Loading…
Reference in a new issue