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>
2023-04-03 23:14:36 +02:00
Marc Cornellà
277f38212a
refactor: reorganize setopts in lib folder
2023-02-24 20:55:31 +01:00
Marc Cornellà
5cb943eea4
fix(lib): fix return code after expected non-zero exit code ( #11524 )
...
Fixes #11524
2023-02-24 17:27:23 +01:00
Richard Mitchell
416560c9bf
docs(lib/directories): comment how to disable alias ( #11489 )
2023-02-12 17:46:25 +01:00
Hazael Sanchez
ea4854dba3
feat(directories): add config to skip aliases ( #11469 )
...
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2023-02-02 11:30:34 +01:00
Kevin Burke
e86c6f5e7f
style: use -n
flag in head
and tail
commands ( #10391 )
...
Co-authored-by: Marc Cornellà <hello@mcornella.com>
2021-11-09 09:04:10 +01:00
Richard Mitchell
bf88ff3f90
fix(lib): fix 1
alias to cd
to directory 1 in stack ( #10370 )
2021-11-02 12:05:37 +01:00
Marc Cornellà
ea3e666e04
init: run compinit before loading lib/ files
2019-05-07 21:30:06 +02:00
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`.
2018-06-16 20:35:41 -04:00
Nathan Robinson
de8ef8286a
Remove po alias
...
https://github.com/robbyrussell/oh-my-zsh/issues/6761
2018-05-25 23:46:18 -04:00
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.
2015-12-13 20:36:31 +01:00
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.
2015-02-15 11:37:28 -08:00
Marc Cornellà
51946eb3ce
Implement deletion of sl alias as per #3055
2015-02-10 19:22:39 +01:00
LFDM
4b4292a496
Fix a typo
2015-02-10 19:22:39 +01:00
LFDM
25b1cd687b
Brings all directory stuff to directories.zsh
...
- Cleans out aliases.zsh.
- Removes unneeded cd function.
2015-02-10 19:22:38 +01:00
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
2014-10-22 15:39:27 +02:00
Robby Russell
685c746cc7
Merge pull request #1565 from serdardalgic/autoenv-plugin
...
Add autoenv plugin, which adopts using Kenneth Reitz's autoenv.
2013-04-23 20:33:50 -07:00
Robby Russell
b61555d7c0
Merge pull request #1582 from To1ne/pushdminus
...
use pushdminus
2013-04-23 20:16:41 -07:00
Toon Claes
fe4c2379c4
use pushdminus
2013-02-04 22:21:34 +01:00
Serdar Dalgıç
4c91f6d13e
Add autoenv plugin, which adopts using Kenneth Reitz's autoenv into
...
oh-my-zsh.
2013-01-25 13:23:40 +02:00
Robby Russell
421a738b49
Merge pull request #1273 from ystein/master
...
Typo in cd-wrapper
2012-12-04 06:36:45 -08:00
Robby Russell
11ff3b642d
Removing mcd as it conflicts with mtools
2012-12-02 12:05:58 -08:00
Yannik Stein
9172b3a89f
fix typo in cd-wrapper
2012-08-05 22:51:11 +03:00
Alex Light
d693711f14
made the 'd' alias only show the directories that can be cd'ed to using the number aliases
2012-02-28 13:52:57 -05:00
Andrew Hodges
25adbe81a5
Aliases
...
Modify directory listing aliases to make more sense. Remove conflicting helper
function (mcd conflicts with mtools).
2011-06-05 08:08:58 -04:00
Derek Prior
2b03b95122
Added function to mkdir and immediately change to it
2010-12-21 14:28:40 -05:00
James Cox
f363c025da
put everything in lib
2009-09-23 16:14:43 +01:00