A collection of Fish shell configuration scripts and functions
conf.d | ||
LICENSE | ||
README.md |
fishconfigs
Personal Fish shell configuration files and custom functions.
Description
This repository contains my custom Fish shell configurations, including utility functions for git operations and NFS mounting.
Installation
- Clone this repository:
git clone https://git.prisma.moe/fishconfigs.git
- Copy the configuration files to your Fish config directory:
cp -r conf.d/* ~/.config/fish/conf.d/
- Reload your Fish shell or run:
source ~/.config/fish/config.fish
Functions
gitcommitdate
Commit with a specific time for both author and committer dates.
Usage:
gitcommitdate HH:MM commit message
Example:
gitcommitdate 14:30 Fix critical bug in authentication
mountnfs / umountnfs
Utility functions for mounting and unmounting NFS shares with optimized settings.
Usage:
mountnfs # Mount NFS share (requires configuration)
umountnfs # Unmount NFS share
Note: You'll need to edit the mountnfs.fish
file to set the specific IP of your server, mount point, and local mount point.
Contributing
Feel free to submit issues and pull requests to improve these configurations, they will be very welcome!
Acknowledgments
Special thanks to aichan for inspiration and creating the gitcommitdate config.
License
This project is open source and available under the European Union Public License v1.2.