Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mattmc3/macos.fish
Fish functions for macos goodies
https://github.com/mattmc3/macos.fish
fish fish-plugin fish-shell plugin
Last synced: 4 days ago
JSON representation
Fish functions for macos goodies
- Host: GitHub
- URL: https://github.com/mattmc3/macos.fish
- Owner: mattmc3
- License: mit
- Created: 2018-11-21T19:55:09.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2024-04-01T15:04:32.000Z (8 months ago)
- Last Synced: 2024-10-12T23:27:05.952Z (about 1 month ago)
- Topics: fish, fish-plugin, fish-shell, plugin
- Language: Shell
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# macos
macOS functions for fish
## Functions
| Category | Command | Description |
|:----------|:--------------|:----------------------------------------------------------------------|
| Finder | `hidefiles` | Hide the normally hidden dotfiles in Finder |
| Finder | `showfiles` | Show hidden files in Finder |
| Finder | `cdf` | `cd` to the current Finder directory |
| Finder | `ofd` | Open the current directory in a Finder window |
| Finder | `pfd` | Return the path of the frontmost Finder window |
| Finder | `pfs` | Return the paths of the current Finder selection |
| Finder | `pushdf` | `pushd` to the current Finder directory |
| Homebrew | `brewup` | Updates homebrew and upgrades installed packages |
| Homebrew | `caskup` | Updates homebrew casks and upgrades them |
| Homebrew | `brew-export` | Generates an export of homebrew installed packages in Brewfile format |
| Homebrew | `brew-import` | Imports a Brewfile containing homebrew packages to install |
| Manual | `mand` | Open a specified man page in Dash.app |
| Manual | `manp` | Open a specified man page in Preview |
| Music | `itunes` | Control iTunes. Use `itunes -h` for usage details |
| Network | `flushdns` | Flush DNS cache |
| Utility | `ql` | Quick-Look a specified file or directory |
| Utility | `rmdsstore` | Remove .DS\_Store files recursively in a directory |
| Utility | `trash` | Move a specified file to the Trash |## Install
[reel] installation:
```shell
reel in mattmc3/macos.fish
```[fisher] installation:
```shell
fisher add mattmc3/macos.fish
```## Inspiration
- oh-my-zsh has a few of these shortcuts in its osx plugin [here][omz-osx].
- oh-my-fish has their version [here][omf-osx].[omz-osx]: https://github.com/ohmyzsh/ohmyzsh/blob/master/plugins/osx/osx.plugin.zsh
[omf-osx]: https://github.com/oh-my-fish/plugin-osx
[reel]: https://github.com/mattmc3/reel
[fisher]: https://github.com/jorgebucaran/fisher