mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 15:34:40 +01:00
cosmetic
This commit is contained in:
parent
020d1e8a51
commit
0413967010
1 changed files with 2 additions and 1 deletions
|
|
@ -24,7 +24,8 @@ __truncate_left() {
|
||||||
}
|
}
|
||||||
|
|
||||||
__truncate_dir() {
|
__truncate_dir() {
|
||||||
dir=${1/#$HOME/\~} #gain some place with '~'
|
#gain some place with '~'
|
||||||
|
dir=${1/#$HOME/\~}
|
||||||
__truncate_left "$dir" 25 '…' '/'
|
__truncate_left "$dir" 25 '…' '/'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue