also normalize /~/
This commit is contained in:
parent
52601eb606
commit
86b9ae15dd
1 changed files with 1 additions and 0 deletions
|
@ -139,6 +139,7 @@ sshInputAForm hostnamefield def = normalize <$> gen
|
|||
normalize i = i { inputDirectory = normalizedir <$> inputDirectory i }
|
||||
normalizedir d
|
||||
| "~/" `T.isPrefixOf` d = T.drop 2 d
|
||||
| "/~/" `T.isPrefixOf` d = T.drop 3 d
|
||||
| otherwise = d
|
||||
|
||||
data ServerStatus
|
||||
|
|
Loading…
Add table
Reference in a new issue