Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
general: ~ now expands to $HOME in cmd-line.
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanaraps committed Jan 18, 2019
1 parent 5c48abd commit aecebe0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions fff
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,11 @@ cmd_line() {
break
;;

# Replace '~' with '$HOME'.
"~")
cmd_reply+="$HOME"
;;

# Anything else, add it to read reply.
" "|*)
cmd_reply+="$read_reply"
Expand Down

0 comments on commit aecebe0

Please sign in to comment.