| Commit message (Collapse) | Author | Age |
|
|
| |
Some cut versions don't have `--delimiter` or `--fields` but use the standard options `-d` and `-f`
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was a really stupid change that I should have tested more
before pushing. It broke any non-interactive usage, such as SSH,
fish config, or parsing the script output, as config.fish is
loaded for everything.
There are no issues with different terminal emulators, so this
change will be pushed in the future, but only running in interactive
mode. I apologize for any issues caused by this commit.
This reverts commit d61adfbc532e856242730e198e492a2845754a91.
|
|
|
|
|
|
|
|
|
|
| |
Some people like to have their terminals claim UTF-8 support when
their terminals actually are set to another encoding. As nobody
appears to understand this, I have made a change to automatically
fix the encoding problems if possible. This uses ISO 2022 sequences
in order to dynamically change the encoding.
Fixes #692. Fixes #895. Fixes possible future issues about this.
|
|
|
| |
Fixes #1099
|
| |
|
|
|
|
|
|
|
| |
Otherwise __fish_git_prompt_informative_status tries to expand an unset
variable.
Closes #1157.
|
|
|
| |
$remote could have contained /.
|
| |
|
|
|
|
|
| |
Currently this fix is useless, as web config cannot apply variables,
but in future, it could be more useful.
|
|
|
|
|
|
|
|
| |
by Gentoo Linux)
Disable php completion for the 4th part of the command, since php-eselect is differently designed and causes errors
Closes #1131.
|
|
|
|
|
| |
Informative Git Prompt assumes that sh is bash compatible, but that's
not the case for FreeBSD. Fixes #1140.
|
|
|
|
|
|
|
| |
Closes #960.
Uses pattern matching rather than OS detection. Works with BSD awk, GNU
awk and Solaris' nawk.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
From the Python webbrowser documentation:
"If text-mode browsers are used, the calling process will block until the user exits the browser."
Running fish_config on an ssh server with no GUI browser will open a CLI browser which blocks and stops the server from handling requests.
Using multiprocess to run the server in the background lets CLI browsers access the page, but the page is unusable.
For now, disable CLI browsers and recommend opening the page in a graphical browser.
In the future, maybe write a CLI utility to change prompts and delete history items.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
(see #170)
|
| |
|
| |
|
|
|
|
| |
This protects from providing paths to man, like `./a.out`.
|
| |
|
|
|
|
|
|
| |
Prefer the standard library lzma module if available. This change prevents
using the backports-lzma when it is installed for a version of Python that
already has the lzma module in its standard library.
|
|
|
|
| |
Fixes bpinto/oh-my-fish#59.
|
| |
|
|
|
|
| |
Closes: #310
|
|
|
|
|
| |
They cannot be used as arguments (Perl thinks it's version check, but
version checks are pointless for oneliners), and Debian puts path
containing version depending directories (like 5.14.2) in Perl path.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There is no need to explicitly check for two arguments and set --bold.
Instead the user can simply "set __fish_git_prompt_color_flags --bold
red".
The current check violates the expectation set by the documentation
that you can use any set_color argument as the current code interprets
"--bold red" as "--bold --bold" instead.
Plus, by passing the full contents of the variable directly, the user
can do more adventurous things like set the background as well.
|
|
|
|
|
|
|
| |
git.git's git-prompt may not contain a configurable prefix, but it
does display a space before the upstream information when displaying
verbose information. Rather than using a space always or never,
default to a space whenever verbose is in showupstream.
|
|
|
|
|
|
|
|
| |
Adds a "name" option to __fish_git_prompt_showupstream that shows an
abbreviated branch name when the upstream type is verbose.
Based on git.git 1f6806c: git-prompt.sh: optionally show upstream
branch name
|
|\
| |
| | |
Support bzip2 and lzma/xz compressed man pages
|
| |
| |
| |
| |
| | |
This avoids the use of the global and puts the diagnostic message in a
self-contained location.
|
| |
| |
| |
| |
| | |
Options and descriptions are from psql --help output. Database and username
completion based on the bash completion
|
| |
| |
| |
| |
| | |
Options and descriptions are from psql --help output. Database and username
completion based on the bash completion
|
| |
| |
| |
| | |
c7941fc).
|
| | |
|
| |
| |
| | |
As apt-get purge really has the same operations as apt-get remove, there is not reason to handle them differently in its completion file.
|
| |
| |
| |
| |
| | |
Only print an error when an lzma/xz compressed man page occurs. Also, use
add_diagnostic instead of print.
|
| |
| |
| |
| |
| | |
While in this case it doesn't mean much (neither `z` or `-` would be
passed to options parser), it makes things possibly less buggy.
|
| |
| |
| |
| |
| | |
Skip man pages compressed with lzma/xz if the lzma module is not available; also
print a corresponding diagnostic message.
|
| | |
|
| |
| |
| |
| | |
I overlooked an "if" that should have been an "elif". Oops.
|
| | |
|
|/
|
|
|
|
|
| |
Add support for bzip2 and lzma/xz compressed man pages. Support for bzip2 is
part of the Python standard library (at least for 2.7 and >=3.2), while lzma/xz
is only in Python >=3.3; however, there is a backports module for Python 2.7 and
3.2.
|
| |
|
| |
|
|
|
|
| |
Closes #1010
|
|
|
|
| |
hostname searches
|