This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Screenshot: https://i.imgur.com/yUplymA.png | |
# Git it's integrated | |
# Author: vguerrero | |
# WS: https://vguerrero.com | |
# @: v @ vguerrero.com | |
# Code | |
# Load dependencies. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Load dependencies. | |
pmodload 'helper' | |
function prompt_sorin_pwd { | |
local pwd="${PWD/#$HOME/~}" | |
if [[ "$pwd" == (#m)[/~] ]]; then | |
_prompt_sorin_pwd="$MATCH" | |
unset MATCH | |
else |
NewerOlder