| ▲ | Show HN: Shellock, a real-time CLI flag explainer for fish shell(github.com) | ||||||||||||||||||||||
| 29 points by behnamoh 5 days ago | 10 comments | |||||||||||||||||||||||
| ▲ | j4cobgarby 6 hours ago | parent | next [-] | ||||||||||||||||||||||
I just tried it out, nice! It's a useful tool, but the installation process didn't work for me following the steps as written. As it stands: * The shellock directory must be in ~/Downloads, otherwise the shellock_bindings.fish fails to source it. * The installation script in the repo didn't work because it tried to symlink shellock_bindings.fish without specifying an absolute path (`~/.config/fish/conf.d/shellock_bindings.fish -> ./shellock_bindings.fish`) -> caused a recursive symlink which broke. Now I got it working by making sure to place shellock in Downloads (not ideal long term, I often clear my Downloads folder), and manually symlinking the bindings explicitly. It seems to work pretty well! | |||||||||||||||||||||||
| |||||||||||||||||||||||
| ▲ | elcapitan 4 hours ago | parent | prev | next [-] | ||||||||||||||||||||||
Looks like a cool idea - what does it do with more complicated commands, e.g. two commands with a pipe? Does it pick the last part of the pipe? | |||||||||||||||||||||||
| ▲ | witherk 6 hours ago | parent | prev | next [-] | ||||||||||||||||||||||
Nice, I tried looking for something like this but never found anything. Glad to see someone working on it. | |||||||||||||||||||||||
| |||||||||||||||||||||||
| ▲ | TacticalCoder 3 hours ago | parent | prev | next [-] | ||||||||||||||||||||||
I read the title too quickly and thought that 12 years later shellshock was making a come back! | |||||||||||||||||||||||
| |||||||||||||||||||||||
| ▲ | treetalker 4 days ago | parent | prev [-] | ||||||||||||||||||||||
Cool! Recommendations for something similar on zsh? | |||||||||||||||||||||||