Skip to content

Commit bc0ca7b

Browse files
committed
Release v0.4.1
1 parent eaf6ef5 commit bc0ca7b

File tree

5 files changed

+95
-59
lines changed

5 files changed

+95
-59
lines changed

CHANGELOG.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,16 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## Unreleased
8+
## [0.4.1] - 2020-05-25
99

1010
### Added
1111

1212
- Support for PowerShell.
1313

1414
### Removed
1515

16-
- Support for non-UTF8 paths.
17-
18-
### Removed
19-
2016
- Backward compatibility with `v0.2.x` databases.
17+
- Support for paths with invalid UTF-8.
2118

2219
## [0.4.0] - 2020-05-03
2320

@@ -135,6 +132,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
135132
- GitHub Actions pipeline to build and upload releases.
136133
- Support for the `zsh` shell.
137134

135+
[0.4.1]: https://github.com/ajeetdsouza/zoxide/compare/v0.4.0...v0.4.1
138136
[0.4.0]: https://github.com/ajeetdsouza/zoxide/compare/v0.3.1...v0.4.0
139137
[0.3.1]: https://github.com/ajeetdsouza/zoxide/compare/v0.3.0...v0.3.1
140138
[0.3.0]: https://github.com/ajeetdsouza/zoxide/compare/v0.2.2...v0.3.0

Cargo.lock

+35-35
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "zoxide"
3-
version = "0.4.0"
3+
version = "0.4.1"
44
authors = ["Ajeet D'Souza <[email protected]>"]
55
description = "A faster way to navigate your filesystem"
66
repository = "https://github.com/ajeetdsouza/zoxide/"

README.md

+54-16
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ A faster way to navigate your filesystem
1111
- [Examples](#examples)
1212
- [Getting started](#getting-started)
1313
- [Installing `zoxide`](#step-1-installing-zoxide)
14-
- [Adding `zoxide` to your shell](#step-2-adding-zoxide-to-your-shell)
14+
- [Installing `fzf` (optional)](#step-2-installing-fzf-optional)
15+
- [Adding `zoxide` to your shell](#step-3-adding-zoxide-to-your-shell)
1516
- [bash](#bash)
1617
- [fish](#fish)
1718
- [POSIX](#posix-shells)
@@ -48,30 +49,67 @@ zr /foo # remove /foo from the database
4849

4950
### Step 1: Installing `zoxide`
5051

51-
#### Fedora 32+ [![Fedora](https://img.shields.io/fedora/v/zoxide)](https://src.fedoraproject.org/rpms/rust-zoxide)
52+
#### On Arch Linux [![Arch Linux](https://img.shields.io/aur/version/zoxide)](https://aur.archlinux.org/packages/zoxide)
53+
54+
```sh
55+
yay -S zoxide
56+
```
57+
58+
#### On Fedora 32+ [![Fedora](https://img.shields.io/fedora/v/zoxide)](https://src.fedoraproject.org/rpms/rust-zoxide)
5259

5360
```sh
5461
dnf install zoxide
5562
```
5663

57-
#### Cargo [![crates.io](https://img.shields.io/crates/v/zoxide)](https://crates.io/crates/zoxide)
64+
#### On FreeBSD
65+
66+
```sh
67+
pkg install zoxide
68+
```
69+
70+
#### On macOS / Linux (using Homebrew / Linuxbrew)
71+
72+
```
73+
brew tap ajeetdsouza/zoxide
74+
brew install zoxide
75+
```
76+
77+
#### On NixOS
78+
79+
```sh
80+
nix-env -iA nixpkgs.zoxide
81+
```
82+
83+
#### On OpenBSD
84+
85+
```sh
86+
pkg_add zoxide
87+
```
5888

59-
If you have Cargo installed, this should be as simple as:
89+
#### Other (using Cargo) [![crates.io](https://img.shields.io/crates/v/zoxide)](https://crates.io/crates/zoxide)
6090

6191
```sh
6292
cargo install zoxide -f
6393
```
6494

65-
Otherwise, try the install script:
95+
#### Other (using precompiled binary)
96+
97+
Use the installation script:
6698

6799
```sh
68100
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/ajeetdsouza/zoxide/master/install.sh | sh
69101
```
70102

71-
If you want the interactive fuzzy selection feature, you will also need to install
72-
[`fzf`](https://github.com/junegunn/fzf.git).
103+
Alternatively, you can also download a precompiled binary from the
104+
[releases](https://github.com/ajeetdsouza/zoxide/releases) page and add it to
105+
your `PATH`.
106+
107+
### Step 2: Installing `fzf` (optional)
108+
109+
If you want to use interactive fuzzy selection, you will also need to install
110+
[`fzf`](https://github.com/junegunn/fzf#installation).
73111

74-
### Step 2: Adding `zoxide` to your shell
112+
### Step 3: Adding `zoxide` to your shell
75113

76114
If you currently use `z`, `z.lua`, or `zsh-z`, you may want to first import
77115
your existing database into `zoxide`:
@@ -119,14 +157,6 @@ NOTE: If you modify your `PS1` at any point, you may need to re-run the above
119157
command. This is due to the fact that the hook is stored in `PS1`, in order to
120158
be evaluated every time the prompt is displayed.
121159

122-
#### zsh
123-
124-
Add the following line to your `~/.zshrc`:
125-
126-
```sh
127-
eval "$(zoxide init zsh)"
128-
```
129-
130160
#### PowerShell
131161

132162
Add the following line to your profile:
@@ -138,6 +168,14 @@ Invoke-Expression (& {
138168
})
139169
```
140170

171+
#### zsh
172+
173+
Add the following line to your `~/.zshrc`:
174+
175+
```sh
176+
eval "$(zoxide init zsh)"
177+
```
178+
141179
## Configuration
142180

143181
### `init` flags

install.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/sh
22

33
set -u
44

@@ -134,7 +134,7 @@ cargo_build() {
134134
ensure curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
135135

136136
# shellcheck source=/dev/null
137-
source "$HOME/.cargo/env"
137+
. "$HOME/.cargo/env"
138138
fi
139139

140140
RUSTFLAGS="-C target-cpu=native" ensure cargo install zoxide

0 commit comments

Comments
 (0)