addet termshark and made 'has' remove itself after installing
This commit is contained in:
parent
adc69bb235
commit
159cb9e60c
1 changed files with 6 additions and 1 deletions
7
.zshrc
7
.zshrc
|
@ -241,6 +241,11 @@ _alias(){
|
|||
alias wgdown="wg-quick down"
|
||||
fi
|
||||
|
||||
# ─< wireshark / termshark alias >────────────────────────────────────────────────────────
|
||||
if command_exists termshark; then
|
||||
alias ws="$_sudo termshark"
|
||||
fi
|
||||
|
||||
# ─< fastfetch >────────────────────────────────────────────────────────────────────────────
|
||||
if command_exists fastfetch; then
|
||||
alias ff="fastfetch"
|
||||
|
@ -495,7 +500,7 @@ get_packager() {
|
|||
|
||||
_tools_(){
|
||||
if ! command_exists has; then
|
||||
$(git clone https://github.com/kdabir/has.git /tmp/has && cd /tmp/has && sudo make install)
|
||||
$(git clone https://github.com/kdabir/has.git /tmp/has && cd /tmp/has && sudo make install && rm -rf /tmp/has)
|
||||
else
|
||||
tools() {
|
||||
local pkgs="bash fish git curl make cmake gcc g++ rg docker composer node npm php jre python3 go cargo"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue