Marc Cornellà
1ad167dfac
feat(init)!: allow turning off aliases for libs and plugins ( #11550 )
...
BREAKING CHANGE: the previous zstyle setting to disable `lib/directories.zsh` aliases has
been changed to the new syntax: `zstyle ':omz:lib:directories' aliases no`. See
https://github.com/ohmyzsh/ohmyzsh#skip-aliases to see other ways you can use this setting.
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
3 years ago
Marc Cornellà
277f38212a
refactor: reorganize setopts in lib folder
3 years ago
Marc Cornellà
5cb943eea4
fix(lib): fix return code after expected non-zero exit code ( #11524 )
...
Fixes #11524
3 years ago
Richard Mitchell
416560c9bf
docs(lib/directories): comment how to disable alias ( #11489 )
3 years ago
Hazael Sanchez
ea4854dba3
feat(directories): add config to skip aliases ( #11469 )
...
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
3 years ago
Kevin Burke
e86c6f5e7f
style: use `-n` flag in `head` and `tail` commands ( #10391 )
...
Co-authored-by: Marc Cornellà <hello@mcornella.com>
4 years ago
Richard Mitchell
bf88ff3f90
fix(lib): fix `1` alias to `cd` to directory 1 in stack ( #10370 )
4 years ago
Marc Cornellà
ea3e666e04
init: run compinit before loading lib/ files
7 years ago
Ben Klein
b0a149076f
Allow arguments to `d` to be passed to dirs
...
Replace the alias with a function. Call `dirs` if arguments are given to `d`.
8 years ago
Nathan Robinson
de8ef8286a
Remove po alias
...
https://github.com/robbyrussell/oh-my-zsh/issues/6761
8 years ago
Marc Cornellà
4fbfb149d3
Add back the `-` alias to go to the previous directory
...
The alias was removed in #3564 . A couple of users were using
it, so I'm adding it back.
10 years ago
Zhiming Wang
2790a5e565
Bring back -h option to ls variants
...
The -h options in l, ll, and la were lost in 25b1cd6 . There's no reason
to remove them.
11 years ago
Marc Cornellà
51946eb3ce
Implement deletion of sl alias as per #3055
11 years ago
LFDM
4b4292a496
Fix a typo
11 years ago
LFDM
25b1cd687b
Brings all directory stuff to directories.zsh
...
- Cleans out aliases.zsh.
- Removes unneeded cd function.
11 years ago
Marc Cornellà
36e05e95ad
Don't set auto_name_dirs because it messes up prompts
...
From http://zsh.sourceforge.net/Doc/Release/Options.html#Completion-4
> AUTO_NAME_DIRS
> Any parameter that is set to the absolute name of a directory immediately
> becomes a name for that directory, that will be used by the ‘%~’ and
> related prompt sequences, and will be available when completion is performed
> on a word starting with ‘~’.
> (Otherwise, the parameter must be used in the form ‘~param’ first.)
Explained in more detail in
https://github.com/wayneeseguin/rvm/issues/3091#issuecomment-60083194
Related issues:
https://github.com/robbyrussell/oh-my-zsh/issues/2857
https://github.com/robbyrussell/oh-my-zsh/issues/3238
https://github.com/wayneeseguin/rvm/issues/3091
12 years ago
Toon Claes
fe4c2379c4
use pushdminus
13 years ago
Serdar Dalgıç
4c91f6d13e
Add autoenv plugin, which adopts using Kenneth Reitz's autoenv into
...
oh-my-zsh.
13 years ago
Yannik Stein
9172b3a89f
fix typo in cd-wrapper
14 years ago
Alex Light
d693711f14
made the 'd' alias only show the directories that can be cd'ed to using the number aliases
14 years ago
Andrew Hodges
25adbe81a5
Aliases
...
Modify directory listing aliases to make more sense. Remove conflicting helper
function (mcd conflicts with mtools).
15 years ago
Derek Prior
2b03b95122
Added function to mkdir and immediately change to it
15 years ago
James Cox
f363c025da
put everything in lib
17 years ago
James Cox
b6d778201b
more fixes, more or less have this as i want
17 years ago
James Cox
93af38f154
further refactorings
17 years ago
James Cox
8176645e82
some helpers to make directory traversal go easier....
17 years ago