Commit Graph

7 Commits

Author SHA1 Message Date
Koichi Murase
24bd7e71ad lib/directories (cd): do not use pushd/DIRSTACK by default
https://github.com/ohmybash/oh-my-bash/pull/450
2023-09-25 01:10:02 +09:00
Koichi Murase
dd20d586da lib/directories (cd): Refactor
* lib/directories (cd): Adjust style of `cd` function
* lib/directories (cd): Use regex to match integers
* lib/directories (cd): Use _omb_util_alias to replace cd
* lib/directories (cd): Update the function description
2023-04-09 22:16:35 +09:00
Chai Feng
618aa82460 lib/directories: Add cd function, a clone of Zsh cd builtin command
* Fix, the `~` in the first item of `DIRSTACK` may not be expanded in Cygwin
  Bash
2023-04-09 22:16:12 +09:00
Koichi Murase
3e441aa00b lib/bourne-shell: Remove duplicate aliases 2022-07-03 13:28:58 +09:00
Koichi Murase
0fe8c0bf0d lib: support OMB_DEFAULT_ALIASES to control the alias overriding 2022-07-03 13:28:58 +09:00
Koichi Murase
c3bcc5c6d2 refactor: Normalize shebang of scripts to source 2022-01-15 19:00:35 +09:00
Toan Nguyen
53fb803740
OMB - Major Refactor (#39)
* OMB - Major Refactor

- Aliases and completions now works like plugins (need to enabled in .bashrc)
- Removed the compatible check in spectrum.sh, OMB now works with Bash v3.x like the old days.
- Removed core plugin, added those bash functions into base.sh and load during startup.
- Updated OSH template for new installations
- Added history config and few other stuff from #17

@TODO: Added a shell script to update old version of .bashrc to new one.

* Fixed ShellCheck issues

* Fixed ShellCheck issues
2019-01-23 03:05:32 -08:00