Those commands will fail if the file already exists, as you can see from the error message. What’s the result of “file /usr/local/bin/subl
”? Could you also run “alias
”?
Launch in terminal `subl` don't work
bschaaf
#23
0 Likes
CodeLenov
#24
myname@MyName:~/Repositories/Landing_Page$ file /usr/local/bin/subl
/usr/local/bin/subl: symbolic link to /opt/sublime_text/sublime_text
0 Likes
CodeLenov
#25
myname@MyName:~/Repositories/Landing_Page$ alias
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
alias grep='grep --color=auto'
alias l='ls -CF'
alias la='ls -A'
alias ll='ls -alF'
alias ls='ls --color=auto'
alias subl='/cygdrive/c/Program\ Files/Sublime\ Text\ 3/sublime_text.exe'
0 Likes
bschaaf
#26
You’ve aliased subl
to run /cygdrive/c/Program\ Files/Sublime\ Text\ 3/sublime_text.exe
. Remove the alias to fix your issue.
0 Likes