addet kali to debian list
This commit is contained in:
parent
8e078b2519
commit
dacc18f242
1 changed files with 5 additions and 5 deletions
10
.zshrc
10
.zshrc
|
@ -176,13 +176,13 @@ _alias(){
|
||||||
|
|
||||||
# ─< t stands for tmux >────────────────────────────────────────────────────────────────────
|
# ─< t stands for tmux >────────────────────────────────────────────────────────────────────
|
||||||
if command_exists tmux; then
|
if command_exists tmux; then
|
||||||
tmux_y="-- tmux-session active! | connecting to active session --"
|
local tmux_y="-- tmux-session active! | connecting to active session --"
|
||||||
tmux_n="-- no tmux-session found! | creating one --"
|
local tmux_n="-- no tmux-session found! | creating one --"
|
||||||
ta() {
|
ta() {
|
||||||
command tmux list-sessions >/dev/null 2>&1
|
command tmux list-sessions >/dev/null 2>&1
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
if command_exists notify-send; then
|
if command_exists notify-send; then
|
||||||
notify-send "$tmux_y"
|
notify-send "TMUX" "$tmux_y"
|
||||||
sleep 0.5
|
sleep 0.5
|
||||||
tmux attach
|
tmux attach
|
||||||
else
|
else
|
||||||
|
@ -192,7 +192,7 @@ _alias(){
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if command_exists notify-send; then
|
if command_exists notify-send; then
|
||||||
notify-send "$tmux_n"
|
notify-send "TMUX" "$tmux_n"
|
||||||
sleep 0.5
|
sleep 0.5
|
||||||
tmux
|
tmux
|
||||||
else
|
else
|
||||||
|
@ -437,7 +437,7 @@ get_packager() {
|
||||||
remove=""
|
remove=""
|
||||||
. /etc/os-release
|
. /etc/os-release
|
||||||
case "$ID" in
|
case "$ID" in
|
||||||
ubuntu | debian | pop)
|
ubuntu | debian | pop | kali)
|
||||||
if command_exists nala; then
|
if command_exists nala; then
|
||||||
search="nala search"
|
search="nala search"
|
||||||
install="nala install --assume-yes"
|
install="nala install --assume-yes"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue