Skip to content

Commit a481ff4

Browse files
committed
general: Add default nano editor for the edit alias
1 parent 7cc2ced commit a481ff4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aliases/available/general.aliases.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ fi
3434
alias c='clear'
3535
alias cls='clear'
3636

37-
alias edit='${EDITOR:-${ALTERNATE_EDITOR?}}'
37+
alias edit='${EDITOR:-${ALTERNATE_EDITOR:-nano}}'
3838
alias pager='${PAGER:=less}'
3939

4040
alias q='exit'

0 commit comments

Comments
 (0)