konphig logo

konphig

Config files for safe keeping 😏
Watch Star Fork Follow @wcarhart

Konphig contains custom settings for common UNIX tools. You can think of it as a dotfiles repo, with some extra bells and whistles.

Interested in the development of konphig? Read the Development section, or check out its repository for more info!

Konphig is easy to install. To get started, checkout Installation.

Features

Konphig comes packed out of the box with tons of cool functionality. Here are a few highlights.

A powerful CLI

Pull multiple registered repositories at once

kn repo --pull
Pulling birdhouse...
Pulling koi...
Pulling lurker...

Add Homebrew, Yarn, and other packages to track in version control

kn new --brew yarn
Added brew formula 'yarn' to konphig

Helpful Bash functions

Join a list of strings

merge '-' 'a b' c d
a b-c-d

Add a permanent alias on the fly

adda e echo
e 'Hello, konphig!'
Hello, konphig!

Move up and down directories

pwd
# /dir0/dir1/dir2/dir3/dir4
up 4
# /dir0
down 2
# /dir0/dir1/dir2

Move recently downloaded files to the current directory

snag 3    # snags the 3 most recently downloaded files and moves them to the current directory

Clever Git extras

Remove local branches not present in the remote

git clean

Review local commits not present in the current branch in the remote

git local

Get the commits for the last sprint

git sprint

Get the primary authors for the repository

git leaderboard

Get all available git aliases

git alias

Much, much more

Reset the macOS Touch Bar

resetbar

Get your public IP address

publicip

Change your command prompt on the fly

dp 5    # change to 'different prompt' #5

See Bash functions, kn, Git aliases, and Bash aliases for more!

Author

Will Carhart is the author of konphig. Check the Author section for more information.

Contributing

Want to contribute? Check out Development.

License

Konphig is licensed under the MIT License.

MIT License

Copyright (c) 2020 Will Carhart

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Edit this page