Indrajit Raychaudhuri
7222fe5fd6
utility: Autoload helper functions for 'run-help'
...
Now that, prezto is configured to lookup more specific 'run-help'
function, autoload the known ones for utility.
4 years ago
Austin Sloane
4e7ab4b8b7
utility, helper: add aliases to use with termux terminal emulator (android) ( #1859 )
4 years ago
Kaspar Vollenweider
f4ca9ebfc9
feat(helper): add os-type helper functions
...
Add the following functions:
- is-darwin
- is-linux
- is-bsd
- is-cygwin
And apply them everywhere I found code doing that what these functions do.
5 years ago
Kaleb Elwert
2873885d37
utility: fix safe-ops commands
...
Fixes #1699
5 years ago
monai
b8d7e2cad8
Add zstyle option to disable zsh option CORRECT
6 years ago
Tercio Gaudencio Filho
1ed5331e84
Fix issue #1635 . Option to disable GNU ls to group directories first.
6 years ago
Ashish Gandhi
b6b43eb331
Rename "Mac OS X" to "macOS" in comments
...
This only changes references in text for human consumption. It leaves
out renaming paths because that can cause breaking changes.
Related issue https://github.com/sorin-ionescu/prezto/issues/1449 .
7 years ago
Kaleb Elwert
443021237a
Allow users to easily define LS_COLORS and LSCOLORS ( #1546 )
7 years ago
Kaleb Elwert
742260b55f
Remove support for pydf to make options more consistent
...
Closes #1388
7 years ago
Kaleb Elwert
82d3265ad5
utility: remove usage of noremoteglob until bugs can be fixed
...
Fixes #1443 , #1521
7 years ago
Indrajit Raychaudhuri
a60fe47359
[utility] Refactor rsync_scp wrapper function and add completion support
...
Changes:
- Rename `rsync_scp_wrap` to `noremoteglob` and make it more generally usable
- Enable completion support for commands wrapped with `noremoteglob`
- Tighten up internal variable usages
- Update documentation for 'noremoteglob' function
7 years ago
Indrajit Raychaudhuri
608f291ad3
[utility] Reuse interactive aliases when 'safe-ops' is set
...
When `safe-ops` is set, we can reuse the aliases that are already available.
7 years ago
Indrajit Raychaudhuri
f236344fc8
[utility] Remove premature call to `compdef`
...
This is a temporary fix to work-around a minor regression in 90071d3
.
7 years ago
Kaleb Elwert
90071d3ad0
utility: fix completion for rsync and scp
7 years ago
Kaleb Elwert
aad91beb3c
[utility] Move the safeops aliases into their own section and add XXi variants
7 years ago
Samantha McVey
2a75fba6a8
[utility] Add safe-ops zstyle option to disable safe rm/cp/ln/mv
...
Currently rm/cp/ln/mv are aliased to rm/cp/ln/mv -i so that it will
prompt before removing files.
Some people would not like this functionality and wish for an easy way to
disable it. This adds a new option:
zstyle ':prezto:module:utility' safe-ops yes/no
It is enabled by default even if zstyle is not set, but can be set to no
to disable these aliases.
This should resolve issue #205
7 years ago
Samantha McVey
a876890afd
[utility] scp/rsync glob local paths but don't glob remote paths
...
Adds a function which wraps rsync and scp so that remote paths are not globbed
but local paths are globbed. This is because the programs have their own
globbing for remote paths. The wrap function globs args starting in / and ./
and doesn't glob paths with : in it as these are interpreted as remote paths
by these programs unless the path starts with / or ./
Fixes issue #1125
7 years ago
Diego Rabatone Oliveira
7c172fc9a7
Fix #1337 by removing top alias to htop. ( #1341 )
...
Fixes #1337
7 years ago
Guillaume Subiron
81b41d2367
Add utility alias for pydf
8 years ago
Kaleb Elwert
38f0d2f34e
Rework diff function
...
This removes --unified from the default options to make it possible to pass -y
without worrying about conflicting output formats.
diffu has also been added as an alias to make it easier to get output as a
unified diff.
Fixes #1231
8 years ago
Kyle Rich
4e35f701ca
Add "sa" alias to make it easy to search aliases
8 years ago
Eduard Zintz
8913bcccd2
Use python3 for http-serve alias if available ( #1193 )
8 years ago
Sorin Ionescu
cd5067668c
Substitute command when alias is undefined
10 years ago
Sorin Ionescu
b41f485528
Add missing parenthesis
...
The bug was introduced in 933c61b
.
10 years ago
Sorin Ionescu
933c61b8f1
[ Fix #776 ] Support GNU top
10 years ago
Sorin Ionescu
88aee30ae8
[ Fix #762 ] Use $LOGNAME instead of $USER
...
$USER is deprecated.
10 years ago
Sorin Ionescu
ba351df9fb
[ Fix #748 ] Set grep color for BSD and GNU
10 years ago
Sorin Ionescu
9539341e1e
[ Fix #732 ] Replace $GREP_OPTIONS with an alias
10 years ago
Sorin Ionescu
a84ac5b002
Only one newline at end of file
10 years ago
eukaryote
493bf302f6
Ensure dircolors uses sh syntax
...
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
10 years ago
Laurent Goussard
8189577772
Disable glob for bower
...
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
11 years ago
Sorin Ionescu
80ded5e33d
Revert "Remove utility aliases for Cygwin"
...
This reverts commit d368d0536b
.
11 years ago
Sorin Ionescu
d368d0536b
Remove utility aliases for Cygwin
11 years ago
Sorin Ionescu
959887013d
Simplify a conditional
11 years ago
Sorin Ionescu
b769505857
Remove duplicate alias definitions
11 years ago
Nicholas Hutchinson
622e7b117b
Add utility aliases for Cygwin
...
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
11 years ago
Sorin Ionescu
c8b82afeec
Increase readability in utility init
12 years ago
Sorin Ionescu
38d1875020
Match BSD ls colors to Linux ls colors
12 years ago
Sorin Ionescu
bc4351cfab
[ Fix #283 ] Define $LS_COLORS for completion
12 years ago
Sorin Ionescu
e5e26eccff
[ #245 ] Convert helper into a module
12 years ago
Sorin Ionescu
209846011f
[ Fix #267 ] Fix psu on non-Mac OS X systems
12 years ago
Sorin Ionescu
fb9a20591f
[ Fix #197 ] Rebrand as Prezto
...
Conflicts:
README.md
runcoms/zshenv
12 years ago
Sorin Ionescu
2f4f11bd40
Use $VISUAL and fallback on $EDITOR for the e alias
12 years ago
Sorin Ionescu
88af470bd6
[ Fix #232 ] Disable globbing for rsync, scp, ftp, sftp
12 years ago
Sorin Ionescu
9a52ecb21b
Increase heading readability
12 years ago
Sorin Ionescu
34ca75cdf2
[ Fix #210 ] Rename alias lp to lm
13 years ago
Sorin Ionescu
cbdf8122a6
[ Fix #149 ] Restructure utility
13 years ago
Sorin Ionescu
93e76b9e8d
[ #149 ] Move compdef calls into their own files
13 years ago
Sorin Ionescu
fdb3f4152f
[ #149 ] Remove unnecessary if statements
13 years ago
Sorin Ionescu
45ab153c64
[ #149 ] Move diff, wdiff, make into their own files
13 years ago