You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
753 B
Fish

if [ -z "$DISPLAY" ] && [ (fgconsole) -eq 1 ];
startx
end
if status is-interactive
and not set -q TMUX
exec tmux
end
fish_ssh_agent
function q
exit
end
function cl
command clear && ls
end
function cat
bat --theme=Nord $argv
end
function cnas
curlftpfs 10.0.0.250 ~/NAS -o ssl,no_verify_peer,no_verify_hostname,uid=1000,gid=1000,umask=022
end
function ls
lsd $argv --group-dirs first
end
function ll
lsd -lha $argv --group-dirs first
end
function l
lsd -lh $argv --group-dirs first
end
function tree
lsd --tree $argv
end
function ds
command du -sch * | sort -rh
end
function hv
command nmcli --ask connection up "HP VPN"
end
function hvd
command nmcli connection down "HP VPN"
end