A collection of productivity-boosting shell aliases and functions to enhance your command-line experience, with focus on:
- File system navigation
- Network operations
- System maintenance
- Development workflows
- 🚀 Smart functions and aliases with documentation
- 🔍 Built-in help system (
function_info
,alias_info
) - 🛠 System maintenance utilities
- 🌐 Network troubleshooting tools
- 📁 Enhanced file operations
- 💻 Development workflow helpers
- ZSH shell
- LSD for enhanced file listing (optional)
brew install lsd
An lsd_config.yaml
file can be used to manage configuration from within this repository.
Create a configuration file from the included example file:
cp lsd_config.example.yaml lsd_config.yaml
When LSD is detected, this configuration will be automatically symlinked to ~/.config/lsd/config.yaml
.
If an existing configuration is detected, it will not be overwritten. Please delete the existing config.yaml
file if you prefer to use lsd_config.yaml
.
Clone into custom directory:
cd ~/.oh-my-zsh/custom/
git clone https://github.com/dnstock/zsh-dotfiles.git .
Clone and source in your .zshrc:
git clone https://github.com/dnstock/zsh-dotfiles.git
echo "source ./zsh-dotfiles/*.zsh" >> ~/.zshrc
The scripts should function correctly with minor modifications:
- Replace
typeset
withdeclare
(for Bash) - Adjust code blocks marked Zsh-specific
- Adjust array syntax where needed
View available aliases or function:
alias_info --help
function_info --help
View all aliases or functions:
alias_info --all
function_info --all
View specific alias or functions:
alias_info netinfo
function_info find_proc
ll # Enhanced directory listing
netinfo # Show network interface details
tree # Display directory structure
.
├── 0_init.zsh # Core declarations
├── 1_aliases.zsh # General aliases
├── 2_functions.zsh # General functions
├── lsd_config.yaml # LSD configuration (optional)
├── [...] # Scope-specific scripts
└── zz_end.zsh # Clean up and summarize
Script files get processed in alphabetical order.
Contributions are welcome! Please open an issue or submit a pull request for any enhancements or bug fixes.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -am 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.