Uname:Linux marissa.metanet.ch 4.18.0-553.141.2.lve.el7h.x86_64 #1 SMP Wed Jul 8 17:20:31 UTC 2026 x86_64

Base Dir : /home/httpd/vhosts/comeonline.ch/httpdocs

User : onlineadmin


403WebShell
403Webshell
Server IP : 80.74.154.100  /  Your IP : 216.73.217.0
Web Server : Apache
System : Linux marissa.metanet.ch 4.18.0-553.141.2.lve.el7h.x86_64 #1 SMP Wed Jul 8 17:20:31 UTC 2026 x86_64
User : onlineadmin ( 10487)
PHP Version : 8.5.7
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/httpd/vhosts/comeonline.ch/.config/fish/functions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/vhosts/comeonline.ch/.config/fish/functions/parse_git_branch.fish
# http://zogovic.com/post/37906589287/showing-git-branch-in-fish-shell-prompt
# https://gist.github.com/davidmh/721241c7c34f841eed07
# https://gist.github.com/diezguerra/4737141


function parse_git_branch
    set fish_git_dirty_color red
    set fish_git_not_dirty_color green
  set -g branch (git branch ^&- | grep -e '\* ' | sed 's/^..\(.*\)/\1/')
  set -g git_diff (git diff ^&-)
  if test -z "$git_diff"
    echo -n (set_color $fish_git_not_dirty_color)
  else
    echo -n (set_color $fish_git_dirty_color)
      end
end

Youez - 2016 - github.com/yon3zu
LinuXploit