I want to make an alias for fixing my previous commands easily.
Using
alias fix="fc -e nano"
works, but I'd love to use sublime text with this. However, using fc -e subl
only brings a blank editor.
I understand that nano only opens up /tmp/bash-fc.PUKKW8
. I can force sublime text to open this file manually, but can't figure out a way to open it through fc
. Is there a way to do this?
Asked by a3y3
(85 rep)
Mar 11, 2020, 05:33 PM
Last activity: Mar 11, 2020, 05:56 PM
Last activity: Mar 11, 2020, 05:56 PM