thefuck: Add alias option (#6909)
Added an alias option supported by bash, zsh, fish, and nushell integration
This commit is contained in:
parent
542078066b
commit
4d2d322317
3 changed files with 13 additions and 7 deletions
|
|
@ -12,11 +12,11 @@
|
|||
assertFileExists home-files/.bashrc
|
||||
assertFileContains \
|
||||
home-files/.bashrc \
|
||||
'eval "$(@thefuck@/bin/thefuck --alias --enable-experimental-instant-mode)"'
|
||||
'eval "$(@thefuck@/bin/thefuck --alias fuck --enable-experimental-instant-mode)"'
|
||||
|
||||
assertFileExists home-files/.zshrc
|
||||
assertFileContains \
|
||||
home-files/.zshrc \
|
||||
'eval "$(@thefuck@/bin/thefuck --alias --enable-experimental-instant-mode)"'
|
||||
'eval "$(@thefuck@/bin/thefuck --alias fuck --enable-experimental-instant-mode)"'
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
assertFileExists home-files/.bashrc
|
||||
assertFileContains \
|
||||
home-files/.bashrc \
|
||||
'eval "$(@thefuck@/bin/thefuck --alias)"'
|
||||
'eval "$(@thefuck@/bin/thefuck --alias fuck)"'
|
||||
|
||||
assertFileExists home-files/.config/fish/functions/fuck.fish
|
||||
assertFileContains \
|
||||
|
|
@ -29,7 +29,7 @@
|
|||
assertFileExists home-files/.zshrc
|
||||
assertFileContains \
|
||||
home-files/.zshrc \
|
||||
'eval "$(@thefuck@/bin/thefuck --alias)"'
|
||||
'eval "$(@thefuck@/bin/thefuck --alias fuck)"'
|
||||
|
||||
assertFileExists home-files/.config/nushell/config.nu
|
||||
assertFileContains \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue