Saduff
44a5513fcb
fix(per-directory-history): print toggle message properly ( #10872 )
2023-11-22 18:44:21 +01:00
Carlo Sala
18073af622
fix(bgnotify): detect properly if swaymsg
is installed
...
Closes #12053
2023-11-22 15:22:36 +01:00
bretello
e6a1db213d
feat(bgnotify): add support to wayland ( #12045 )
2023-11-20 12:54:56 +00:00
Babak K. Shandiz
22f9a8d3b8
fix(juju): add public-address
fallback to jaddr
( #12046 )
2023-11-20 12:52:32 +00:00
Þórhallur Sverrisson
e0213342d1
feat(vi-mode): add option to disable clipboard ( #12037 )
2023-11-20 11:27:54 +00:00
nexpspace
6165c257ae
fix(grc): source grc.zsh on gentoo ( #12050 )
...
Co-authored-by: mphi <mphi@norealmail.fdfe.de>
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2023-11-20 11:25:22 +00:00
Thomas Luzat
c8e600f397
fix(direnv): initialize properly direnv
...
Closes #12038
Closes #12039
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2023-11-15 12:54:50 +01:00
Marc Cornellà
b6bb133f23
fix(git): fix repository detection in gccd
function ( #12023 )
...
Fixes #12023
2023-11-08 08:42:34 +01:00
Carlo Sala
632ed413a9
fix(wd): use (( ))
instead of [[ ]]
...
zsh versions prior to 5.0.6 mark `[[ <num> ]]` as invalid syntax
Closes #12017
2023-11-02 15:49:57 +01:00
Sarah Noor
38c01a235f
feat(npm): add alias for npm run build
( #12012 )
...
Closes #12010
2023-10-28 17:48:45 +02:00
Josh Hubbard
cb86d378f2
feat(git-auto-fetch): fetch also submodules ( #12001 )
2023-10-28 10:37:50 +02:00
Marc Cornellà
048455ccef
fix(git-commit): fix revert alias conflict ( #12007 )
...
Fixes #12007
2023-10-25 19:47:46 +02:00
alps2006
5c22c5812e
feat(vi-mode): allow replacing on visual mode ( #12006 )
2023-10-24 14:00:26 +02:00
家鳖大帝
b7904ae548
fix(firewalld): remove (default)
from the end of zone string ( #11998 )
2023-10-24 13:33:04 +02:00
Amir Hosseini
465253396d
fix(direnv): use hook
instead of export
( #12000 )
2023-10-22 10:30:25 +02:00
Marc Cornellà
ff6dac56a2
fix(git): fix smart cd to cloned directory in gccd
function
2023-10-19 23:04:08 +02:00
Marc Cornellà
f79647dba5
fix(git): fix check in gbds
function
2023-10-19 22:05:03 +02:00
Zeeshan
207d29b716
fix(git)!: standardize git pull --rebase
aliases ( #11224 )
...
BREAKING CHANGE: The alias `gup` for `git pull --rebase` and its derivatives
are replaced by `gpr` for standardization. This means the previous aliases will
no longer be available after a few months. Meanwhile, the original aliases are
still working, with a deprecation notice.
See https://github.com/ohmyzsh/ohmyzsh/blob/master/plugins/git/README.md#deprecated-aliases
for the full list of deprecated aliases.
Fixes #11104
Closes #11224
Co-authored-by: Marc Cornellà <marc@mcornella.com>
2023-10-19 22:00:04 +02:00
Marc Cornellà
9f84ba0854
feat(command-not-found): add support for Homebrew on Linux
...
Fixes #11151
2023-10-19 20:47:26 +02:00
Marc Cornellà
d082d87580
refactor(lando): add LANDO_ZSH_WRAPPED_COMMANDS
setting and refactor
2023-10-19 20:38:45 +02:00
Ryan Tvenge
a8dee63ffe
feat(lando): bypass lando
if command is not available in container ( #11993 )
...
Closes #11993
2023-10-19 20:38:37 +02:00
Peat Bakke
104041a018
feat(tmux): add tds
alias for directory sessions ( #11987 )
2023-10-19 11:49:38 +02:00
Vishal Sharma
0da416986a
fix(ssh-agent): add error message if ~/.ssh
is not found ( #11929 )
...
Closes #11829
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2023-10-18 20:14:47 +02:00
Marc Cornellà
8152dc673b
fix(git): move squash-merged branch deletion from gbda
to gbds
function ( #11991 )
2023-10-18 20:01:58 +02:00
Jérémy
b696288337
feat(kubectl): add kgdsa
alias ( #11863 )
2023-10-18 19:27:47 +02:00
Patryk Krawaczyński
f10cd5281d
feat(history): add hl
alias ( #11990 )
2023-10-18 13:59:28 +02:00
Vyacheslav Scherbinin
d3112d67a3
feat(vscode): allow arguments to vsc
alias ( #11903 )
...
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2023-10-18 09:18:05 +02:00
nishanthps-cai
96c976637a
feat(bazel): use completion also for bazelisk ( #11984 )
2023-10-17 09:55:05 +02:00
Marc Cornellà
f939768751
fix(git): fix fallback to develop branch if master
not found ( #11966 )
2023-10-14 16:40:45 +02:00
Kapil Pau
48a62a9f71
feat(span): Introducing Snapcraft CLI plugin ( #9357 )
2023-10-13 15:11:47 -07:00
Sandesh Pyakurel
8d9c9b6174
chore(postgres): fix typo ( #11967 )
2023-10-13 17:00:28 +02:00
Sandesh Pyakurel
3efdbf9e1e
chore(hitchhiker): fix typos ( #11961 )
2023-10-13 09:53:48 +02:00
Sandesh Pyakurel
772b41ea5a
chore(zsh-navigation-tools): fix typo ( #11960 )
2023-10-12 16:24:40 +02:00
Marc Cornellà
7329b2fbb1
docs(debian): clarify override behavior for apt_pref
and apt_upgr
...
Fixes #11959
2023-10-12 11:46:49 +02:00
Preston Button
5743198e0e
docs(aliases): fix typo ( #11958 )
2023-10-12 10:32:48 +02:00
Marc Cornellà
53cb50acb5
refactor(systemadmin): use ss
instead of netstat
when available ( #11957 )
2023-10-11 20:43:55 +02:00
Marc Cornellà
fedef5dbd5
fix(xcode): open Xcode in current Desk if already open in another ( #10384 )
...
Fixes #10384
2023-10-11 19:23:44 +02:00
Lukas Elmer
da3b8fcb6a
fix(yarn): output completion entries in UTF-8 ( #11955 )
2023-10-11 18:06:22 +02:00
Adam Johnson
b1821a24f0
fix(git): restore showing patch in gsts
( #11951 )
2023-10-10 17:56:54 +02:00
Adam Henley
38db3e16ef
feat(kind): add plugin for Kind k8s tool ( #9827 )
...
Co-authored-by: jxlwqq <jxlwqq@gmail.com>
Co-authored-by: Francesco Ilario <fr.ilario@gmail.com>
Co-authored-by: Marc Cornellà <hello@mcornella.com>
2023-10-09 20:28:09 +02:00
tobi1805
24b2600558
feat(git): delete squash-merged branches in gbda
( #11948 )
2023-10-09 18:07:51 +02:00
Marc Cornellà
30a8a5d3e2
fix(rtx): fix rtx
init procedure ( #11949 )
2023-10-09 17:53:00 +02:00
DemonKiller
7105e37ef0
feat(rtx) Added new polyglot runtime manager (asdf rust clone) ( #11932 )
...
* add readme.md for rtx
* add rtx plugin
* update install info
* remove redundant slashes
2023-10-08 15:27:55 +02:00
Abhinav
f36c6db0ea
feat(shell-proxy): allow excluding endpoints with NO_PROXY
( #11924 )
2023-10-02 20:58:42 +02:00
jack
7400d469b6
fix(ruby): add missing -run
in rserver
alias ( #11913 )
2023-10-02 20:41:18 +02:00
bretello
df80a2da54
feat(vi-mode): copy to clipboard when using vi-change*
and vi-yank*
widgets ( #11861 )
2023-10-02 20:41:01 +02:00
HeroCC
fea4584ceb
fix(tmux): don't autostart inside background intelliJ ( #11927 )
2023-10-02 20:34:57 +02:00
Thomas Faugier
278bcfc93b
feat(asdf): load zsh completions instead of bash ones
...
Closes #11143
Closes #8779
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2023-10-02 20:27:52 +02:00
Jake Conway
27402e2603
docs(gas): update plugin url ( #11918 )
2023-09-29 11:24:40 +01:00
Piotr Minkina
d3b6f1fd5e
fix(gradle): remove look for settings.gradle files ( #11917 )
2023-09-28 22:43:06 +01:00
Carlo Sala
0e1e877ea9
fix(git)!: remove gt
alias
...
BREAKING CHANGE: `gt` alias clashes with Graphite CLI
(https://graphite.dev ). See https://github.com/ohmyzsh/ohmyzsh/pull/11910#issuecomment-1736340910
2023-09-27 08:19:59 +02:00
Adam Johnson
4fb5d02db9
feat(git): add reset aliases grhk
and grhs
( #11896 )
2023-09-26 09:31:32 +02:00
Adam Johnson
e2b855341b
feat(git): add tag aliases gt
and gta
( #11910 )
...
Co-authored-by: hasecilu <hasecilu@protonmail.com>
Co-authored-by: Rik <gitaarik@posteo.net>
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2023-09-26 09:27:48 +02:00
Adam Johnson
bca62f78e2
feat(git): add branch rename alias gbm
( #11909 )
...
Co-authored-by: Gabriel Akinyosoye <gabrielfemi799@gmail.com>
2023-09-26 09:22:32 +02:00
Adam Johnson
aaa74964a8
fix(git): remove --text
from gsts
( #11897 )
2023-09-26 09:18:54 +02:00
Adam Johnson
a17789eede
docs(git): improve tables and language ( #11895 )
2023-09-25 10:49:22 +02:00
Carlo Sala
c91684bb1b
docs(web-search): add youtube
entry
2023-09-25 08:20:20 +01:00
Marcus Müller
1c55a0fe52
feat(dnf): use dnf5
if available ( #11904 )
...
Co-authored-by: Marcus Müller <marcus_ohmyzsh@baseband.digital>
2023-09-21 11:43:00 +01:00
ajatkj
1cc32be5f6
feat(poetry-env): create plugin ( #11069 )
2023-09-20 15:51:27 +01:00
Trick van Staveren
350427dea2
feat(hitchhiker): clean up refs to magic string ( #11900 )
2023-09-20 15:09:26 +01:00
Marc-Antoine Godde
91cd5341b9
fix(gcloud): source path.zsh.inc
always ( #11901 )
2023-09-20 11:09:46 +01:00
Jérôme Benoit
4167474f12
feat(grc): add support for arm64 macos ( #11890 )
2023-09-13 16:31:24 +02:00
Carlo Sala
7e4c26860d
feat(brew): add support for custom BREW_LOCATION
...
Fixes #11888
Co-authored-by: Matt Cable <github@curiousstranger.org>
2023-09-13 10:48:41 +02:00
bretello
01f5512311
feat(systemd): add alias for --failed commands ( #11847 )
2023-09-12 21:41:07 +02:00
Samuel Beckley
7077989d28
feat(macos): update spotify plugin to upstream ( #11534 )
2023-09-11 09:35:28 +02:00
Haltarys
b07c8cfe69
fix(git-commit): fix compatibility of alias functions ( #11883 )
2023-09-10 09:28:33 +02:00
Carlo Sala
079dbff2c4
feat(pipenv): add option to disable auto shell feature
...
Closes #11472
2023-09-06 19:01:41 +02:00
Adam Johnson
6a7aab47dd
docs(git): align markdown table borders ( #11878 )
2023-09-06 12:42:09 +02:00
Adam Johnson
331f3c8b2e
feat(git): add bisect aliases gbsn
and gbso
( #11869 )
2023-09-06 12:36:57 +02:00
Carlo Sala
8e8ec1348b
fix(git-commit): avoid conflict with aliases
var
...
Closes #11876
2023-09-06 10:54:13 +02:00
Adam Johnson
bae577d6b2
fix(git)!: remove -b
from blame
alias ( #11864 )
2023-09-05 12:41:50 +02:00
Tjark
c74f2a1be9
feat(podman): add plugin ( #11695 )
...
Closes #7489
Closes #9721
2023-09-04 19:43:06 +02:00
Oscar Lee-Vermeren
1abc1d998a
feat(git-commit): create plugin ( #9646 )
...
Co-authored-by: K. Akatsuki <thevortexspirit@gmail.com>
2023-09-04 19:21:27 +02:00
Peter Puškár
f694d5ecc9
feat(qodana): add completion plugin ( #11813 )
2023-09-04 19:17:28 +02:00
n0tr00t
2b1303a728
feat(tmux): allow all standard config files ( #11103 )
...
Closes #11803
Co-authored-by: n0tr00t <106423923+n0tr00teuorg@users.noreply.github.com>
2023-09-03 17:38:32 +02:00
Daniel Wang
1f56f2bdc4
fix(extract): remove extraction file extension for tar ( #11873 )
2023-09-03 17:08:19 +02:00
not pua
0dc40e88a3
feat(battery): add support for OpenBSD ( #11872 )
2023-09-02 13:46:59 +02:00
t-aswath
2ef7c73cc8
feat(web-search): add youtube
alias ( #11865 )
2023-08-30 18:08:09 +02:00
Tomás Hernández
bf77421191
feat(bun): add plugin ( #11859 )
2023-08-29 10:29:15 +02:00
Roeniss Moon
13a8e3d98a
feat(alias-finder): add cheaper option and apply zstyle options ( #11773 )
2023-08-24 17:12:59 +02:00
Zhang Visper
c92af18c36
fix(git): some aliases under non-english LANG ( #11855 )
2023-08-24 11:37:38 +02:00
Miguel Hargreaves Pimenta
33c0de7add
refactor(git): sort git aliases alphabetically ( #9743 )
2023-08-23 13:38:32 +02:00
Marc Cornellà
3f477e5da5
fix(extract): extraction to directory for single-file .gz ( #11852 )
2023-08-23 13:25:33 +02:00
Ahmed Wael
6bc4c80c7d
fix(colored-man-pages): add env GROFF_NO_SGR=1 ( #11831 )
2023-08-21 18:07:28 +02:00
Jin Cheol
b81915d329
feat(terraform): add terraform version prompt ( #11845 )
2023-08-16 13:46:28 +02:00
Carlo Sala
fd219a94ab
docs(aliases): replace screenshot
...
Closes #11837
Closes #11822
2023-08-10 15:39:42 +02:00
David LJ
7d2aedf199
chore(gitignore): use new API endpoint from TopTal ( #11835 )
2023-08-09 18:27:39 +02:00
Carlo Sala
6925c44af4
fix(aliases): rename acs to als in script help
...
Closes #11812
2023-07-25 01:22:39 +02:00
cohml
338b9a615a
fix(per-directory-history): ^G also in vi mode ( #11808 )
...
Co-authored-by: Chris Hamill <chamill@ets.org>
2023-07-23 22:02:17 +02:00
Carlo Sala
7d5e12500a
feat(docker): add legacy-completion
option
2023-07-20 10:43:56 +02:00
Jokeoo
c4392a4da3
feat(tig): add two new aliases ( #11090 )
2023-07-19 15:03:38 +02:00
Carlo Sala
7cf00a0b5c
fix(nvm): remove nvm not found verbose message
2023-07-19 14:46:35 +02:00
majick
33fbbdbb0d
fix(aliases)!: rename acs
to als
...
BREAKING CHANGE: rename main function from `acs` to `als` to avoid conflicts with `ubuntu` and `debian` plugins and improve semantics.
2023-07-19 14:31:56 +02:00
majick
b3427f0de6
fix(ubuntu)!: rename acse
alias to acs
...
Closes #11799
This commit reverses 5bfdd0356b
BREAKING CHANGE: reverting alias rename from `acs` to `acse`.
2023-07-19 14:31:52 +02:00
Jarrett Lusso
8bdb5c959c
docs(nvm): clarify autoload setup ( #11797 )
2023-07-15 22:10:48 +02:00
Carlo Sala
fe4b565986
fix(docker): only load old completion if docker <23
2023-06-30 11:41:44 +02:00
Matthias Heyman
54779e5250
fix(jira): support identifiers delimited with a hyphen ( #11782 )
...
Co-authored-by: Matthias Heyman <matthias.heyman@ebo-enterprises.com>
2023-06-29 13:29:14 +02:00
Andrei Polushin
73c4764e78
fix(docker): use docker --version
instead of docker version
...
`docker version` subcommand is able to return both docker client and
docker daemon information. To get a daemon version, it connects to a
possibly remote daemon. If the remote daemon is not accessible, the
client waits for some time, until it gets interrupted by timeout.
As a result we can have a docker client running in background. When zsh
session is rather short, a terminal application (iTerm2) starts asking
if that background docker process should be stopped.
On the other hand, to get a docker client version only, we can use
`docker --version` instead. It does not connect to a daemon.
Closes #11780
2023-06-29 13:26:08 +02:00
Carlo Sala
723af07a56
fix(docker): add static completion script
2023-06-29 13:25:05 +02:00
Devraj Mehta
8cbe98469d
fix(git): remove color codes from some aliases ( #11770 )
2023-06-26 19:05:22 +02:00
Richard Mitchell
d5f1f50ad2
docs(git-extras): clarify readme ( #11776 )
2023-06-26 10:48:17 +02:00
Gustavo Perdomo
22e710b4e4
fix(gcloud): add support for brew
installations ( #11772 )
2023-06-26 10:35:38 +02:00
Haltarys
8a6fc5c16d
fix(docker): use command docker
( #11766 )
2023-06-20 22:27:14 +02:00
Carlo Sala
b5be2d39e2
fix(nvm): disable lazy-loading if autoload is set
...
Closes #11748
2023-06-20 09:36:11 +02:00
Carlo Sala
4ba17232da
feat(nvm)!: remove soft-deprecated code
...
BREAKING CHANGE: $NVM_LAZY, $NVM_LAZY_CMD, AND $NVM_AUTOLOAD cannot be
used anymore to tweak nvm plugin. Use zstyle-based configurations
instead.
2023-06-20 08:54:37 +02:00
kang
8ace453f37
feat(git-extras): update completion (2023-06-19 3a258cb)
...
Closes #11712
2023-06-20 08:50:34 +02:00
WH-2099
c0e811c90d
perf(archlinux): improve paclist
performance ( #11764 )
2023-06-19 12:32:37 +02:00
Ihor
f5cb9a6c97
fix(git): gunwipall
now only resets once ( #11758 )
...
Closes #11750
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2023-06-17 13:28:55 +02:00
rfigueroa
42b86327ed
fix(mvn)!: rename mvnd
to mvndp
alias ( #11756 )
...
BREAKING CHANGE: Rename alias to prevent conflicts with Apache Maven Daemon.
2023-06-16 09:52:12 +02:00
Carlo Sala
6bffaab290
fix(docker): only generate completion for docker >23 ( #11754 )
2023-06-15 20:06:56 +02:00
Carlo Sala
68f3ebb4de
feat(docker): generate completion function
...
Closes #10825
Closes #10912
Closes #11751
2023-06-15 11:17:27 +02:00
Josh Powell
b1b3a020ec
feat(rails): add some aliases ( #11739 )
2023-06-15 11:03:45 +02:00
Oleg Voronkovich
14f0f2971f
feat(brew): autoconfigure completions ( #11152 )
2023-06-15 11:01:02 +02:00
Carlo Sala
46c70406dd
feat(nvm): add npx
to lazy trigger list
...
Closes #11740
2023-06-07 18:43:47 +02:00
Ihor
115cee1701
feat(git): add gunwipall
function ( #11725 )
...
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2023-06-05 10:38:54 +02:00
Carlo Sala
d1c64bfda3
fix(autoenv): typo
2023-06-05 10:26:36 +02:00
Diego Costa R
b36c90d9ab
feat(autoenv): macOS compatibility, add more dirs ( #11724 )
...
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2023-06-05 10:25:17 +02:00
William Snyders
0024107310
fix(gcloud): update AUR default location ( #11718 )
2023-05-31 23:59:41 +02:00
Tom D
fb4213c34f
perf(git): improve gunwip
alias ( #11714 )
2023-05-26 09:43:17 +02:00
WH-2099
5901f30b44
feat(archlinux): optimize paclist
and pacdisowned
( #11398 )
...
Co-authored-by: ratijas <me@ratijas.tk>
2023-05-25 12:43:01 +02:00
Marc Cornellà
b06663df23
feat(extract): add support for .zlib
and .exe
files ( #11085 )
...
Fixes #11085
2023-05-21 21:05:14 +02:00
Marc Cornellà
3a01d7df82
fix(extract): fix extract dir naming conflicts
...
Fixes #11642
2023-05-21 21:05:14 +02:00
Joe
7a030f6bd6
docs(pyenv): warn about pyenv init ( #11692 )
2023-05-15 15:27:31 +02:00
ZYX
f01eea76da
fix(aws): use the correct variable to assert region is defined ( #11691 )
2023-05-12 11:42:30 +02:00
Mark Keisler
017e288560
fix(aws): correct access key disable command ( #11671 )
2023-05-06 13:40:06 +02:00
kang
5a3f565e7d
feat(deno): add dru
alias for --unstable
( #11667 )
2023-05-03 17:48:37 +02:00
Oleg Grigoriev
dab09cc0ee
feat(rake-fast): show task descriptions in autocomplete ( #11653 )
2023-05-02 12:27:57 +02:00
Bas Nijholt
2e7a247cab
feat(z): update to latest upstream version
...
Mirror of 6bfe418332
Closes #11652
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2023-04-28 09:07:43 +02:00
Carlo Sala
5fc1118fd2
chore(azure): fix typo
2023-04-27 19:46:29 +02:00
Carlo Sala
65699912be
fix(azure): recognize properly linuxbrew
...
Closes #11644
2023-04-27 19:46:29 +02:00
Idan Fishman
343c78ae91
fix(aws): set properly set divider to space
...
Closes #11649
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2023-04-27 11:51:04 +02:00
Miguel Sempere
5d3e86e2a4
feat(dbt): create plugin ( #11635 )
...
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2023-04-21 09:15:31 +02:00
Andrew Xie
07454029bd
feat(starship): create plugin ( #10947 )
...
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2023-04-21 08:59:58 +02:00
Nathanial Spearing
91c7ed45a3
feat(npm): add npmrd
alias ( #11627 )
2023-04-20 13:42:47 +02:00
Erin Schlarb
18c837b136
fix(dirhistory): run properly if ksh_arrays
is set ( #11630 )
2023-04-20 13:30:49 +02:00
Roeniss Moon
9139d30ca3
feat(aws): allow more customisation in prompt function ( #11619 )
2023-04-19 15:46:10 +02:00
Mark Keisler
673b9fc331
feat(aws)!: improve aws_change_access_key
( #11378 )
...
BREAKING CHANGE: This commit removes compatibility for `aws` cli v1. Now only v2 is supported.
2023-04-18 10:36:07 +02:00
Eddie Romanov
bd5ebba834
feat(pipenv): add pupd alias ( #11616 )
2023-04-16 09:49:04 +02:00
Josh McKinney
b4f9698733
docs(ssh-agent): macOS and p10k advices ( #11612 )
2023-04-11 10:41:00 +02:00
deimosian
4586808f86
feat(archlinux): improve update function messages ( #11608 )
2023-04-09 12:58:38 +02:00
deimosian
90ec2d1a68
fix(archlinux): keyring update function ( #11607 )
2023-04-09 10:24:55 +02:00
Aleks
ad99f0c164
feat(git): add merge squash alias (gms
) ( #10937 )
2023-04-08 13:36:54 +02:00
Carlo Sala
e906a3130e
fix(azure): look properly for azure config file
...
Closes #11606
2023-04-08 11:13:30 +02:00
deimosian
9b1ef262bc
feat(archlinux): unify upgrade
function ( #11597 )
...
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2023-04-07 13:43:45 +02:00
Alexander Huynh
01c82c381d
fix(jump): even spacing between marks ( #11601 )
2023-04-07 13:35:12 +02:00
Marc Cornellà
49d34d00cd
fix(extract): fix conflict if compressed file has a folder of the same name
...
This change fixes the case where the compressed file (e.g. tools.tgz) only
contains a folder with the same name (e.g. tools) in its root folder.
tools.tgz:
|- tools
|- fileA.txt
|- fileB.txt
\- fileC.txt
In that case, the "smart" folder creation mechanism will extract the files in
a folder "tools", and this extraction folder will contain a single folder with
the same name.
Before this fix, the tool would try to move out the inside folder to the parent
one, but there would already be a folder named "tools", so it would generate a
conflict.
This change first renames the inside folder to a random string, and only then
it is moved outside and the old extraction folder is deleted.
2023-04-06 21:06:16 +02:00
François M
cf0c800492
feat(toolbox)!: rename and add aliases ( #11580 )
2023-04-06 15:11:52 +02:00
Richard Mitchell
33aadeced0
feat(term_tab): add support for macOS ( #11391 )
2023-04-04 23:52:16 +02:00
Marc Cornellà
d47e1d65f6
fix(extract): safely remove extract directory
...
The previous code would remove the extract directory if the command failed.
This could be bad because we're not checking if the extract directory
already existed (since we're using `mkdir -p`), so it could be possible
that the extract operation failed, and we'd be removing a directory that
already existed and had files in it.
This change only removes the directory if there are no files in it, regardless
of whether the extract operation was successful or not. This is much safer.
2023-04-02 16:33:54 +02:00
Marc Cornellà
75405b7b0a
feat(extract): always extract files into its own folder ( #11596 )
2023-04-02 14:28:01 +02:00