Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/ptavares/zsh-exa

zsh plugin for installing and loading exa
https://github.com/ptavares/zsh-exa

exa zsh zsh-plugin

Last synced: about 1 month ago
JSON representation

zsh plugin for installing and loading exa

Lists

README

        

![GitHub](https://img.shields.io/github/license/ptavares/zsh-exa)
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit)
![Release](https://img.shields.io/badge/Release_version-0.2.3-blue)

# zsh-exa

zsh plugin for installing and loading [exa](https://github.com/ogham/exa.git)

## Table of content

_This documentation section is generated automatically_

- [zsh-exa](#zsh-exa)
- [Table of content](#table-of-content)
- [Supported Operating system](#supported-operating-system)
- [Usage](#usage)
- [Aliases set up by plugin](#aliases-set-up-by-plugin)
- [Updating exa](#updating-exa)
- [License](#license)

## Supported Operating system

List of Operating System currently supported by the plugin:

- :penguin: Linux
- x86_64
- :apple: Darwin
- x86_64

## Usage

Once the plugin installed, `exa` will be available

- Using [Antigen](https://github.com/zsh-users/antigen)

Bundle `zsh-exa` in your `.zshrc`

```shell script
antigen bundle ptavares/zsh-exa
```

- Using [zplug](https://github.com/b4b4r07/zplug)

Load `zsh-exa` as a plugin in your `.zshrc`

```shell script
zplug "ptavares/zsh-exa"
```

- Using [zgen](https://github.com/tarjoilija/zgen)

Include the load command in your `.zshrc`

```shell script
zget load ptavares/zsh-exa
```

- As an [Oh My ZSH!](https://github.com/robbyrussell/oh-my-zsh) custom plugin

Clone `zsh-exa` into your custom plugins repo and load as a plugin in your `.zshrc`

```shell script
git clone https://github.com/ptavares/zsh-exa.git ~/.oh-my-zsh/custom/plugins/zsh-exa
```

```shell script
plugins+=(zsh-exa)
```

Keep in mind that plugins need to be added before `oh-my-zsh.sh` is sourced.

- Manually

Clone this repository somewhere (`~/.zsh-exa` for example) and source it in your `.zshrc`

```shell script
git clone https://github.com/ptavares/zsh-exa ~/.zsh-exa
```

```shell script
source ~/.zsh-exa/zsh-exa.plugin.zsh
```

## Aliases set up by plugin

Here is the list of aliases available through this plugin:

| Alias | Command |
| ------------- |-------------|
| ll | exa -lbF --git |
| la | exa -lbhHigmuSa --time-style=long-iso --git --color-scale |
| lx | exa -lbhHigmuSa@ --time-style=long-iso --git --color-scale |
| llt | exa -l --git --tree |
| lt | exa --tree --level=2 |
| llm | exa -lbGF --git --sort=modified |
| lld | exa -lbhHFGmuSa --group-directories-first |

## Updating exa

The plugin comes with a zsh function to update [exa](https://github.com/ahmetb/exa.git) manually

```shell script
# From zsh shell
update_zsh_exa
```

## License

[MIT](LICENCE)