Added some more information to the fish theming and some more commands

zsh
_N0x 2 years ago
parent d0370eccc9
commit d607c55a18

@ -17,3 +17,11 @@ 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 l
command ls -lah --color=auto $argv
end
function ds
command du -sch * | sort -rh
end

@ -50,18 +50,20 @@ end
function fish_prompt
set -l last_status $status
# username and hostname
_print_in_color "┏["$USER"@"(prompt_hostname)"]" blue
# current working dir
_print_in_color " "$PWD $fish_color_cwd
# "%s%s@%s %s%s%s"$USER(prompt_hostname)(set_color $fish_color_cwd)$PWD blue
# set_color normal
__fish_git_prompt " (%s)"
# beginning of new line
_print_in_color "\r\n┗" blue
# time information
_print_in_color " "(date "+%H:%M:%S") green
# little error that indicates the status of the previous command
_print_in_color " " (_prompt_color_for_status $last_status)
end

Loading…
Cancel
Save