Commit Graph

679 Commits

Author SHA1 Message Date
Will Owens
b2b666b5e8 Merge pull request #333 from ghthor/switch-to-github-actions
- fixed the issues in CI workflow enabling testing osx/linux bash & zsh
- disabled failing zsh tests; they're a real mystery by @jeffbyrnes might take a look at them soon
- fixed scmb_wrapped_shell_commands as array; my initial PR was poorly tested
2024-02-27 05:59:27 -05:00
Will Owens
97193af0a6 [darwin] fix failing root ls test 2024-02-27 05:48:15 -05:00
Will Owens
a3affaf3ce [zsh] remove a something that didn't work 2024-02-27 05:45:57 -05:00
Will Owens
166875cbf8 [zsh] disable failing tests 2024-02-27 05:45:38 -05:00
Will Owens
b2689567e9 [ci] output SHELL value at beginning of tests 2024-02-27 05:27:30 -05:00
Will Owens
13a69cc9c0 [zsh] use interactive shell for running tests 2024-02-27 05:27:26 -05:00
Will Owens
2a05bcc79f [zsh] fix missing history 2024-02-27 05:27:22 -05:00
Will Owens
953e79dd70 [ci] utilize matrix to set TEST_SHELLS 2024-02-23 05:30:00 -05:00
Will Owens
5f58628d8a [shell_shortcuts] fix test by adding dir to / that will match $e1 2024-02-23 05:29:50 -05:00
Will Owens
a46e383a93 [ci] see if ruby fixes ls_with_shortcuts test 2024-02-23 04:16:49 -05:00
Will Owens
71f97bf3cf [shell_aliases] try fix array looping 2024-02-23 04:13:24 -05:00
Will Owens
fd4096ed98 [ci] try running tests in nix-shell 2024-02-23 03:54:10 -05:00
Will Owens
f12bab727b [ci] start conversion to nix 2024-02-23 03:15:38 -05:00
Will Owens
5c814a79d1 [ci] fix current default branch 2024-02-23 03:09:02 -05:00
Will Owens
7742f46257 Merge pull request #332 from ghthor/switch-to-github-actions
[ci] switch to github actions
2024-02-23 03:07:22 -05:00
Will Owens
edff4d20c6 Merge remote-tracking branch 'origin/master' into HEAD 2024-02-23 02:50:35 -05:00
Will Owens
cac8c5b00a Merge pull request #331 from scmbreeze/fix-wrapped-commands-example
[example] switch to declaring wrapped commands as an array
2024-02-16 16:03:14 -05:00
Will Owens
a7ab2e831f [example] switch to declaring wrapped commands as an array 2024-02-16 15:59:48 -05:00
Jeff Byrnes
c9045bd3e1 Replace Travis CI with GitHub Actions
* Use GH Actions Matrices for multi-OS & multi-shell testing
* Drop helper script for installing zsh on Linux
    - Should be available by default on ubuntu-latest
2023-07-16 16:01:29 -04:00
Jeff Byrnes
ee57debc69 Merge branch 'master' of github.com:scmbreeze/scm_breeze
* 'master' of github.com:scmbreeze/scm_breeze:
  fix rc file suffix in README
  Return error code from git branch command.
  Use File.exist over deprecated File.exists
  Speed up and simplify parse_git_branch
  Define git functions with parentheses instead of curly braces, so that we can press Ctrl+C to quit the commit prompt without terminating the shell session. (Parentheses run the function in a subshell.)
2023-07-16 16:00:07 -04:00
Will Owens
5f2d259029 Merge pull request #327 from alexconlin/patch-1
fix rc file suffix in README
2023-07-08 07:45:00 -04:00
Alex Conlin
c12c5e3665 fix rc file suffix in README 2023-07-06 10:53:03 +01:00
Will Owens
b53d1ed3a2 Merge pull request #324 from mmcrockett/master
git:branch legacy return no error code when git branch succeeds.
2023-01-28 13:37:14 -05:00
mike crockett
57e6d583f7 Return error code from git branch command. 2023-01-20 14:01:20 -06:00
Will Owens
3e59bc9032 Merge pull request #323 from kimmobrunfeldt/master
Use File.exist over deprecated File.exists
2023-01-13 05:57:51 -05:00
Kimmo Brunfeldt
ae2dd1a559 Use File.exist over deprecated File.exists 2023-01-12 08:43:16 +02:00
Nathan Broadbent
0e21e89f3a Speed up and simplify parse_git_branch 2022-11-17 02:27:46 +13:00
Nathan Broadbent
136fb6b4ee Define git functions with parentheses instead of curly braces, so that we can press Ctrl+C to quit the commit prompt without terminating the shell session. (Parentheses run the function in a subshell.) 2022-10-29 15:12:06 +13:00
Jeff Byrnes
c82b7f23b7 Merge remote-tracking branch 'upstream/master'
* upstream/master:
  Switch to output parse of `--version` to determine ls flavor
  Update installation repo URL
2022-07-28 14:09:11 -04:00
Will Owens
6c85b866af Merge pull request #318 from ghthor/test-bsd-ls
Switch to output parse of `--version` to determine ls version
2022-06-25 11:15:21 -07:00
Will Owens
38143cd5ec Switch to output parse of --version to determine ls flavor 2022-06-23 15:01:58 -04:00
Will Owens
62b73f7e78 Update installation repo URL
Github has stopped supporting `git://` protocol URLs

See: https://github.blog/2021-09-01-improving-git-protocol-security-github/
2022-03-28 08:57:48 -07:00
Jeff Byrnes
27cf045414 Merge remote-tracking branch 'origin/master'
* origin/master:
  Fix shell wrapping for exes with space in path.
  README.md: add remark that some commands don't work w/o ruby
2022-03-25 11:50:52 -04:00
Will Owens
24d08174e7 Merge pull request #299 from jameskeane/wsl-spaces-fix
Fix shell wrapping for exes with space in path.
2022-03-23 18:03:24 -04:00
Wilhelmina Drengwitz
ff6af425e2 Merge pull request #296 from Lotterleben/add_ruby_req_doc
README.md: add remark that some commands don't work w/o ruby
2021-07-26 11:34:56 -07:00
Jeff Byrnes
22023c7445 Merge branch 'scmbreeze:master' into main 2021-07-26 14:00:31 -04:00
Wilhelmina Drengwitz
759c70d9cb Merge pull request #310 from yhpark/gs-fix
`gs` fixes
2021-04-19 12:48:09 -04:00
Yeonghoon Park
27e702bb7a gs fixes 2021-04-14 17:53:54 +09:00
Jeff Byrnes
1a7e93c815 Update Pull Request alias to use gh 2021-01-05 16:22:53 -05:00
Wilhelmina Drengwitz
0a687dcfe5 Merge pull request #307 from telzhov/master
Replaced calls to '_git' wrapper with its contents, '__git_wrap__git_…
2021-01-05 12:34:37 -05:00
telzhov
ad6bfdda3d Replaced calls to '_git' wrapper with its contents, '__git_wrap__git_main'
Since '_git' has been removed in git 2.30
2021-01-02 23:33:39 +03:00
Wilhelmina Drengwitz
4f1e421652 Merge pull request #304 from yhpark/switch_restore
Add aliases for git switch `gsw` / git restore `grt`
2020-09-06 13:45:50 -07:00
Arthas Park
9187f1b04c Add aliases for git switch (gsw) / git restore (grt) 2020-09-06 01:49:39 +09:00
Wilhelmina Drengwitz
6ffbc369b9 Merge pull request #302 from jeffbyrnes/tighten-up-shell-shortcuts
Avoid running ll code if its not used
2020-07-29 17:35:33 -07:00
Jeff Byrnes
800b1b1e0a Avoid running ll code if its not used
Prior to this, if $shell_ls_aliases_enabled="false", this code would
still run, but unnecessarily.
2020-07-29 17:48:53 -04:00
Wilhelmina Drengwitz
e7e9b2bb47 Merge pull request #301 from m-rey/fix_zshrc_path
Use ZDOTDIR env variable for path to .zshrc
2020-03-10 15:03:17 -07:00
Martin Rey
1a7d86fdbc Use ZDOTDIR env variable for path to .zshrc
.zshrc can be found at "~/.zshrc", when ZDOTDIR is not set.
If ZDOTDIR is set, .zshrc is in "${ZDOTDIR}/.zshrc".
Using parameter expansion, the hardcoded path can be replaced with
"${ZDOTDIR:-$HOME}/.zshrc". That way, it'll use the value in
ZDOTDIR when set and the value in HOME when not.
This thus mirrors the usage of ZDOTDIR in zsh and makes the code
more fexible.
2020-03-09 22:25:17 +01:00
Test User
50ccfd9e97 Fix shell wrapping for exes with space in path.
I experienced this using VS Code in WSL, the `code` CLI is in the
Windows `PATH` that has a space in my user name.

Fixes #294.
2020-02-04 13:23:25 -05:00
Lotte Steenbrink
689c8e29e4 README.md: add remark that some commands don't work w/o ruby 2019-10-15 21:27:58 +02:00
Wilhelmina Drengwitz
8f5693f345 Merge pull request #292 from jawshooah/patch-1
Wrap more common shell commands by default
2019-08-29 10:37:47 -04:00