2023-01-25 02:20:39 +02:00
|
|
|
if status is-interactive
|
|
|
|
set prompt_sep_a \ue0b0
|
2023-02-05 22:13:01 +02:00
|
|
|
set prompt_bang \n\ (set_color brblue)\u266a\
|
2023-01-25 02:29:54 +02:00
|
|
|
set git_sign \ue0a0
|
2023-01-25 02:20:39 +02:00
|
|
|
set color_fg brwhite
|
|
|
|
set color_git_branch 3c3c3c
|
|
|
|
set color_git yellow blue red purple
|
|
|
|
|
2023-02-05 22:13:01 +02:00
|
|
|
set -l grc_cmds \
|
|
|
|
iptables ipneighbor ipaddr iproute ip nmap netstat \
|
|
|
|
traceroute tcpdump ss ping \
|
|
|
|
dockerversion dockersearch dockerpull dockerps dockernetwork \
|
|
|
|
docker-machinels dockerinfo dockerimages \
|
|
|
|
lspci lsof lsmod lsblk lsattr getfacl id whois vmstat ulimit \
|
|
|
|
systemctl sysctl stat pv ps ping last gcc free findmnt fdisk env du \
|
|
|
|
dig diff df blkid
|
|
|
|
for cmd in $grc_cmds
|
|
|
|
command -q $cmd && alias $cmd="command grc -es --colour=auto $cmd"
|
2023-01-25 02:20:39 +02:00
|
|
|
end
|
|
|
|
end
|