Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/toku-sa-n/zsh-dot-up
Zsh plugin that converts ..., ...., ....., etc., into cd commands to navigate parent directories.
https://github.com/toku-sa-n/zsh-dot-up
Last synced: 18 days ago
JSON representation
Zsh plugin that converts ..., ...., ....., etc., into cd commands to navigate parent directories.
- Host: GitHub
- URL: https://github.com/toku-sa-n/zsh-dot-up
- Owner: toku-sa-n
- License: agpl-3.0
- Created: 2024-09-11T14:40:23.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-10-24T04:40:11.000Z (about 2 months ago)
- Last Synced: 2024-10-24T22:19:36.319Z (about 2 months ago)
- Language: Shell
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- trackawesomelist - dot-up (⭐0) - Converts `...`, `....`, `.....`, etc., into `cd` commands to navigate parent directories. (Recently Updated / [Sep 15, 2024](/content/2024/09/15/README.md))
README
# `zsh-dot-up`
`zsh-dot-up` is a zsh plugin that converts `...`, `....`, `.....`, etc., into `cd` commands to navigate parent directories.
## Installation
### [zplug](https://github.com/zplug/zplug)
```zsh
zplug "toku-sa-n/zsh-dot-up"
```## Usage
Just type `...`, `....`, `.....`, etc., in your terminal. You'll see the destination directory below the command line. Pressing the Enter key will navigate to the directory.
![Screenshot](images/screenshot.png)
## Highlighting
`zsh-dot-up` does not provide highlighting by default. If you want to highlight `...`, `....`, `.....`, etc., install [zsh-syntax-highlighting](https://github.com/zsh-users/zsh-syntax-highlighting), and write the following code in your `.zshrc`.
```zsh
ZSH_HIGHLIGHT_HIGHLIGHTERS+=(regexp)
ZSH_HIGHLIGHT_REGEXP+=('^\s*(\.){2,}$' fg=green)
```## License
Copyright (C) 2024 Hiroki Tokunaga
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .