Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/progrhyme/dotfiles
My dotfiles including various utility scripts
https://github.com/progrhyme/dotfiles
dotfiles shell shell-script
Last synced: about 2 months ago
JSON representation
My dotfiles including various utility scripts
- Host: GitHub
- URL: https://github.com/progrhyme/dotfiles
- Owner: progrhyme
- Created: 2013-05-10T16:59:27.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-07-08T02:34:23.000Z (6 months ago)
- Last Synced: 2024-07-08T03:42:02.389Z (6 months ago)
- Topics: dotfiles, shell, shell-script
- Language: Shell
- Homepage:
- Size: 193 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dotfiles
Personal dotfiles including scripts and config files for some shell environments.
# Prerequisites
- https://github.com/progrhyme/shelp/
And below packages should be installed by shelp:
```sh
shelp install progrhyme/dot-sh
```# Setup
To set up *dotfiles* into your home directory, execute following commands:
```sh
git clone [email protected]:progrhyme/dotfiles.git
cd dotfiles
git submodule update --initexport DOTS_ENV=
script/setup-shellenv.sh
script/setup-vim-env.sh
```# Related Projects
- [progrhyme/myenv](https://github.com/progrhyme/myenv)
... contains various CLI materials for Ubuntu, macOS etc., utilizing _dotfiles_.# Contents
## Setup Scripts
### script/setup-dotfiles.shMost implementation is in `lib/dotfiles.bashrc`.
In addition to making symbolic links to dotfiles under the root directory, this
script does by default create symbolic links to scripts in `*shrc.d/` directory
into `~/.{ba,z}shrc.d/` directory according to `$SETUP_SHELL` variable; falling
back to `$SHELL` if `$SETUP_SHELL` is undefined.
Destination directory is defined by variable `$CUSTOM_RC_DIR` in `lib/setup.bashrc`.## Shell Configuration
### peco functions`{ba,z}shrc.d/peco.{ba,z}shrc` defines some functions invoked by keyboard
shortcuts using key binding system.Key | Bash | Zsh | Functionality
-----|------|-----|---------------
`Ctrl-U + P` | ✅ | | Search and insert Process ID onto prompt
`Ctrl-R` | ✅ | ✅ | Search and select command from history
`Ctrl-U + D` | ✅ | ✅ | Search directories from repositories under predefined directories and Change Directory to selected one
`Ctrl-U + F` | ✅ | ✅ | Search any files from repositories under predefined directories and insert selected one onto prompt
`Ctrl-U + C` | ✅ | ✅ | Search any files under current directory and insert selected one onto prompt
`Ctrl-U + A` | ✅ | ✅ | Search any files including hidden entries under current directory and insert selected one onto prompt
`Ctrl-U + R` | | ✅ | Search directories from Zsh cdr history and Change Directory to selected one
`Ctrl-U + X` | ✅ | ✅ | Search kubectl contexts and activate selected one
`Ctrl-U + N` | ✅ | ✅ | Search kubectl namespaces and set selected one to default
`Ctrl-U + G` | ✅ | ✅ | Search gcloud config configurations and activate selected one