Commandline trick
I just learned that [ alt+. ] will put in the last argument from the last commandline, kind of like !$ just that you can edit, that might come in handy :D
Commandline trick
I just learned that [ alt+. ] will put in the last argument from the last commandline, kind of like !$ just that you can edit, that might come in handy :D
@nkls I tried fish, I hate it, it's slow doesn't support my scripts without having to shell out to another shell, it doesn't support shortcuts that I use often such as !$ and the like, it's only really useful if you only use it interactively, it works very poorly with something like sxhkd and bspwm. Also I use bash a lot at work on many servers that we have, so I want to know standard bash shortcuts and be able to use them with my shell, so I'm using zsh, it has the best fish features as plugins
@sotolf fish actually supports many quality of life features just like this. If you think this is neat, I recommend checking it out.
@greypilgrim Yeah, I use the history completion a lot it's really helpful you can also preface your command with a space if you have something sensitive like a password or something so that it doesn't get included, I also did augment mine with fzf so that I have fuzzy search, which is even nicer :)
also [ alt + , ] will put in the last command that you wrote, which is also pretty cool :)
@sotolf Nice tip.
You can also use CTRL + R and start typing a previous command, and it will offer completing the rest of the command based on history.
Chirp! is a social network. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.
All Chirp! content and data are available under the Creative Commons Attribution 3.0 license.