mirror of
https://github.com/nvbn/thefuck.git
synced 2025-02-20 20:09:07 +00:00
Use thefuck --alias
in func tests
This commit is contained in:
parent
d8027bb499
commit
45d849b1ac
@ -24,7 +24,7 @@ def proc(request):
|
||||
tag, dockerfile = request.param
|
||||
proc = spawn(request, tag, dockerfile, u'bash')
|
||||
proc.sendline(u"export PS1='$ '")
|
||||
proc.sendline(u'eval $(thefuck-alias)')
|
||||
proc.sendline(u'eval $(thefuck --alias)')
|
||||
proc.sendline(u'echo > $HISTFILE')
|
||||
return proc
|
||||
|
||||
|
@ -24,7 +24,7 @@ RUN apt-get install -yy fish
|
||||
def proc(request):
|
||||
tag, dockerfile = request.param
|
||||
proc = spawn(request, tag, dockerfile, u'fish')
|
||||
proc.sendline(u'thefuck-alias > ~/.config/fish/config.fish')
|
||||
proc.sendline(u'thefuck --alias > ~/.config/fish/config.fish')
|
||||
proc.sendline(u'fish')
|
||||
return proc
|
||||
|
||||
|
@ -25,7 +25,7 @@ def proc(request):
|
||||
tag, dockerfile = request.param
|
||||
proc = spawn(request, tag, dockerfile, u'tcsh')
|
||||
proc.sendline(u'tcsh')
|
||||
proc.sendline(u'eval `thefuck-alias`')
|
||||
proc.sendline(u'eval `thefuck --alias`')
|
||||
return proc
|
||||
|
||||
|
||||
|
@ -24,7 +24,7 @@ RUN apt-get install -yy zsh
|
||||
def proc(request):
|
||||
tag, dockerfile = request.param
|
||||
proc = spawn(request, tag, dockerfile, u'zsh')
|
||||
proc.sendline(u'eval $(thefuck-alias)')
|
||||
proc.sendline(u'eval $(thefuck --alias)')
|
||||
proc.sendline(u'export HISTFILE=~/.zsh_history')
|
||||
proc.sendline(u'echo > $HISTFILE')
|
||||
proc.sendline(u'export SAVEHIST=100')
|
||||
|
Loading…
x
Reference in New Issue
Block a user