aboutsummaryrefslogtreecommitdiffstats
path: root/src/shell/atuin.fish (follow)
Commit message (Collapse)AuthorAge
* fish: Fix `atuin init` for the fish shell (#699)Tobias Hunger2023-02-14
|
* Rework `atuin init` (#652)Jamie Quigley2022-12-24
| | | | | | | | | | | | | | * Rework `atuin init` This allows users to disable the CTRL-R and Up Arrow bindings, independently from one another * Document --disable-{ctrl-r,up-arrow} * Apply suggestions from code review Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com> Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>
* Allow overriding filter and search modes from CLI (#635)Patrick Decat2022-12-18
| | | | | | | | | | | | | * Allow overriding filter and search modes from CLI arguments * Use session filter mode for bash up key binding * We precisely do not want to add quotes here so that all arguments are properly passed * Add --shell-up-key-binding hidden command argument and filter_mode_shell_up_key_binding configuration option to allow customizing the filter mode used when atuin is invoked from a shell up-key binding * Correct up binding for zsh Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>
* Handle multiline commands in fish shell (#623)Patrick Jackson2022-11-19
|
* Respect fish shell's builtin private mode (#577)Patrick Jackson2022-10-21
|
* Fix compatability with fish vi key bindings (#541)Jacob Evan Shreve2022-10-07
| | | | | | | | | | | | | | | | | PR #420 addressed the existence of pagination in a fish prompt by trying to track when pagination was enabled and disabled. This introduced atuin-specific bindings for common keys: `\t`, `\e`, `\r`, and `\n` which exports a variable and informs the `_autiun_search` function to not show the TUI. Fish has a commandline function that will instead tell you whether pagination is enabled so the user doesn't need to keep track of that state. This PR uses this function, `commandline -P` to replace the prior TUI supression scheme. Removing these extra function calls allows us to remove the additional bindings which were breaking fish vi key bindings. Replacing the value for `bind -M insert \e` completely breaks vi mode by blocking the user from exiting insert mode. By removing these extra binds, this PR restores fish vi mode compatability.
* hide errors for #516 (#518)Conrad Ludgate2022-09-01
|
* Fix atuin crashing on commands that start with -- (#509)Jamie Quigley2022-08-23
| | | | The use of `--` in the shell scripts prevents clap attempting to parse the command name as a flag, in the case that it starts with `--`.
* Improve default fish keybindings (#420)Sam Lanning2022-05-20
| | | | | | | | | | binding on "up" can conflict with the default fish keybindings as when in tab-completion mode, you are supposed to be able to use arrow keys to navigate the grid of suggestions, however pressing "up" will open the tui instead. This attempts to work around it by tracking when the user is probably in a tab completion mode by setting a variable that we use to determine whether to open atuin or perform the default fish up action
* Update fish bindings. (#265)Patrick Jackson2022-02-15
|
* remove unused environment var loading entire history into an env var (#242)Mat Jones2021-12-16
|
* Fish importing (#234)Conrad Ludgate2021-12-11
* make a start on fish * fix * test * enable fish * fmt * update histpath set up fish init script * update readme * cover edge case * fmt * fix session variables Co-authored-by: PJ <me@panekj.dev> * respect NOBIND Co-authored-by: PJ <me@panekj.dev> * fix env var setting Co-authored-by: PJ <me@panekj.dev> * fix whitespace Co-authored-by: PJ <me@panekj.dev> * add fish to supported shells Co-authored-by: PJ <me@panekj.dev>