-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shortcuts cannot be symlinks outside the ~/.shortcuts or ~/.termux directory #57
Comments
That is expected behaviour. Check Changelog for Create a symlink under If you want scripts in The |
Thanks for pointing me in the right direction. Unfortunately, this change has broken my workflow. I use simlinks for both ~/.termux and ~/.shortcuts (both point to a folder on my sdcard which is synced with FolderSync). Will need to figure out a new system. |
Sorry for the inconvenience but this had to be done. You can use |
Np. Though could you point me at any discussions of why it was required? Would be interesting to read.
Ah good suggestion. My current workaround is less elegant :p. I have the following in a shortcut rm -rf ~/.termux || true
rm -rf ~/.shortcuts || true
cp -r ~/configuration/app_files/termux ~/.termux
cp -r ~/.termux/shortcuts ~/.shortcuts
chmod 700 -R ~/.termux/shortcuts
chmod 700 -R ~/.termux/tasker |
It's a restriction for termux plugins that can be controlled by external apps. Same applies to
Yeah, the other way works too. |
Can this be manually overridden? |
Not really, except you use the version V0.12! I also deal with my administration as the canonical restriction is not negotiable |
I'm not certain I understand your meaning in the second part of your statement, could you please rephrase? |
see above and links |
You can create the symlinks as discussed above or compile |
Check termux/termux-app#2595 for why this change was enforced. |
This is only because termux .shortcuts can't be symlinks: termux/termux-widget#57 I don't want to symlink everything else and make an exception for these because it would be inconsistent and confusing.
~/.shortcuts/* are the only files in my whole setup that I can't just symlink from my dotfiles repo via GNU stow... |
Alright, here's what I came up with. |
Problem description
I used to be able to use a simlink for
.shortcuts
. In the latest version it has to be a directory.Steps to reproduce
.shortcuts -> ./foo/bar
Expected behavior
Termux shows all items in
./foo/bar
Additional information
The text was updated successfully, but these errors were encountered: