Skip to content

Commit

Permalink
Upgrade to Rust 1.59, strip binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
ajeetdsouza committed Feb 25, 2022
1 parent df148c8 commit ea096ac
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 26 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- uses: actions-rs/toolchain@v1
if: ${{ matrix.os == 'windows-latest' }}
Expand Down
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- manpages: moved to `man/man1/*.1`.
- fzf: added `--keep-right` option by default, upgraded minimum version to v0.21.0.
- Manpages: moved to `man/man1/*.1`.
- Fzf: added `--keep-right` option by default, upgraded minimum version to v0.21.0.
- Bash: only enable completions on 4.4+.

### Fixed

Expand Down
24 changes: 12 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ keywords = ["cli"]
license = "MIT"
name = "zoxide"
repository = "https://github.com/ajeetdsouza/zoxide"
rust-version = "1.56"
rust-version = "1.59"
version = "0.8.0"

[badges]
Expand Down Expand Up @@ -51,4 +51,4 @@ nix = []
[profile.release]
codegen-units = 1
lto = true
# strip = true
strip = true
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ z - # cd into previous directory

zi foo # cd with interactive selection (using fzf)

z foo<SPACE><TAB> # show interactive completions (zoxide v0.8.0+, bash/fish/zsh only)
z foo<SPACE><TAB> # show interactive completions (zoxide v0.8.0+, bash 4.4+/fish/zsh only)
```

Read more about the matching algorithm [here][algorithm-matching].
Expand Down
18 changes: 10 additions & 8 deletions man/man1/zoxide.1
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,18 @@ directories you use most frequently, and uses a ranking algorithm to navigate
to the best match.
.SH USAGE
.nf
$ z foo # cd into highest ranked directory matching foo
$ z foo bar # cd into highest ranked directory matching foo and bar
$ z foo / # cd into a subdirectory starting with foo
z foo # cd into highest ranked directory matching foo
z foo bar # cd into highest ranked directory matching foo and bar
z foo / # cd into a subdirectory starting with foo
.sp
$ z ~/foo # z also works like a regular cd command
$ z foo/ # cd into relative path
$ z .. # cd one level up
$ z - # cd into previous directory
z ~/foo # z also works like a regular cd command
z foo/ # cd into relative path
z .. # cd one level up
z - # cd into previous directory
.sp
$ zi foo # cd with interactive selection (using fzf)
zi foo # cd with interactive selection (using fzf)
.sp
z foo<SPACE><TAB> # show interactive completions (bash 4.4+/fish/zsh only)
.fi
.SH SUBCOMMANDS
.TP
Expand Down
2 changes: 1 addition & 1 deletion shell.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
let
rust = import (builtins.fetchTarball
"https://github.com/oxalica/rust-overlay/archive/203dc4fc3fe2a5df1aa481a3fc8a1bb27074d677.tar.gz");
"https://github.com/oxalica/rust-overlay/archive/46d8d20fce510c6a25fa66f36e31f207f6ea49e4.tar.gz");
pkgs = import (builtins.fetchTarball
"https://github.com/NixOS/nixpkgs/archive/fae46e66a5df220327b45e0d7c27c6961cf922ce.tar.gz") {
overlays = [ rust ];
Expand Down

0 comments on commit ea096ac

Please sign in to comment.