Closed nabby27 closed 3 years ago
Could you create an script named https://github.com/CodelyTV/dotly/tree/master/scripts/system/open that checks the SO and then executes one command or another?
Then you can change the o.
alias to dot system open
😊
Thanks!
@rgomezcasas I have created a folder inside ~/.dotfiles/modules/dotly/scripts
called system
and inside a script called open
, I have also changed the alias of o.
for $DOTLY_PATH/bin/dot system open
but when executing the alias or the command dot system open
I get the error No executable scripts
Could you try:
cd "$DOTLY_PATH" && git checkout master && git pull
And then again?
It continues not working because dotly does not detect the system folder inside scripts with the open script
chmod u+x "$DOTFILES_PATH/scripts/system/open"
That happened to me, is just that you forgot to apply the execution permission to your script.
Try the solution, please.
I close this issue because it was a matter of permissions, thanks !!
The
open
command is a mac own command, for linux there is thexdg-open
command.