mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-09 03:51:20 -03:00
Merge commit 'refs/merge-requests/6' of git://gitorious.org/fish-shell/fish-shell into merge_req_6
This commit is contained in:
@@ -150,7 +150,7 @@ function __fish_config_interactive -d "Initializations that should be performed
|
||||
fish_greeting
|
||||
else
|
||||
if set -q fish_greeting
|
||||
switch $fish_greeting
|
||||
switch "$fish_greeting"
|
||||
case ''
|
||||
# If variable is empty, don't print anything, saves us a fork
|
||||
|
||||
|
||||
@@ -21,6 +21,8 @@ function eval -S -d "Evaluate parameters as a command"
|
||||
end
|
||||
|
||||
echo begin\; $argv \;end eval2_inner \<\&3 3\<\&- | . 3<&0
|
||||
set -l res $status
|
||||
|
||||
status --job-control $mode
|
||||
return $res
|
||||
end
|
||||
|
||||
@@ -86,7 +86,7 @@ function help --description "Show help for the fish shell"
|
||||
# documentation. It's a bit of a hack, since it relies on the
|
||||
# Doxygen markup format to never change.
|
||||
|
||||
case (sed -n < $__fish_help_dir/commands.html -e "s/.*<h2><a class=\"anchor\" name=\"\([^\"]*\)\">.*/\1/p")
|
||||
case (sed -n 's/.*<h2><a class="anchor" \(id\|name\)="\([^"]*\)">.*/\2/p' $__fish_help_dir/commands.html)
|
||||
set fish_help_page "commands.html\#$fish_help_item"
|
||||
case $help_topics
|
||||
set fish_help_page "index.html\#$fish_help_item"
|
||||
|
||||
Reference in New Issue
Block a user