From 9099e71ddcc5568f4235223616bda531276b3b93 Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Sat, 25 Jan 2025 06:37:30 +0100 Subject: * Merge files into platform.fish deleted: conf.d/00paths.fish deleted: conf.d/01common.fish new file: conf.d/02platform.fish deleted: conf.d/03freebsd.fish deleted: conf.d/03linux.fish deleted: conf.d/03macos.fish deleted: conf.d/03netbsd.fish deleted: conf.d/03openbsd.fish deleted: conf.d/04package.fish --- conf.d/03linux.fish | 52 ---------------------------------------------------- 1 file changed, 52 deletions(-) delete mode 100644 conf.d/03linux.fish (limited to 'conf.d/03linux.fish') diff --git a/conf.d/03linux.fish b/conf.d/03linux.fish deleted file mode 100644 index 9822da4..0000000 --- a/conf.d/03linux.fish +++ /dev/null @@ -1,52 +0,0 @@ -if status is-interactive; and string match -q -e 'Linux' (uname) - -if command -sq dircolors; and test -f ~/.config/dircolors - eval (dircolors -c ~/.config/dircolors) -end - -alias ls 'ls --color=auto -F' -alias la 'ls --color=auto -F -a' -alias ll 'ls --color=auto -F -l' -alias lla 'ls --color=auto -F -l -a' - -alias grep 'grep --color=auto' -alias diff 'diff --color=auto' - -alias ff 'find . -type f -name' -alias fd 'find . -type d -name' -alias fbs 'find . -xtype l' - -alias who 'who -H -w -u' - -alias free 'free -h' -alias df 'df -Th' -alias ps 'ps -ejH' -alias lsof 'lsfd' - -# If we have iproute2 -if command -sq ip - alias ip "ip -c" - alias sockstat "ss -4 -6 -l -r -p" - - alias_if_not route ip route - alias_if_not ifconfig ip link - alias_if_not netstat ss -4 -6 -l -r -p -end - -# If we have systemd -if command -sq systemctl - alias pss "systemd-cgls" - alias ipconfig "networkctl -a status" - - if not fish_is_root_user - alias showdnscache "sudo resolvectl show-cache" - alias cleardnscache "sudo resolvectl flush-caches" - else - alias showdnscache "resolvectl show-cache" - alias cleardnscache "resolvectl flush-caches" - end - - alias_if_not nslookup systemd-resolve -end - -end -- cgit v1.3.1