X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=admin%2Fprog%2Fbash_prompt;fp=admin%2Fprog%2Fbash_prompt;h=14543705585b52f6ed8d8de2f54a1d0cd7466c5c;hb=44bc3c3f9a5cdaddf8bad3f0c87e2237bbbb03c6;hp=a60560240e3d53c8e5901ee5de4450a353432077;hpb=5ebb08f797da6fa0961ea0bd95cf1c44fe1c433f;p=dotfiles.git diff --git a/admin/prog/bash_prompt b/admin/prog/bash_prompt index a605602..1454370 100644 --- a/admin/prog/bash_prompt +++ b/admin/prog/bash_prompt @@ -7,7 +7,7 @@ cgmem_which_prompt() { } # Cut directories to 20% of the terminal width; add space for 3 dots -_DIR_LENGTH=`awk "END { print int(0.2 * $COLUMNS) }"