fix pwd_info (possibly typo?)

pull/1/head
lowne 3 years ago
parent ed0fcfe31f
commit 0d4f801150

@ -1,6 +1,6 @@
function pwd_info -a separator -d "Print easy-to-parse information the current working directory"
set -l home ~
set -l git_root (command git rev-parse --show-toplevel ^ /dev/null)
set -l git_root (command git rev-parse --show-toplevel 2> /dev/null)
command pwd -P | awk -v home="$home" -v git_root="$git_root" -v separator="$separator" -v dir_length="$fish_prompt_pwd_dir_length" '
function base(string) {

Loading…
Cancel
Save