-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1865 from NoahGorny/add-profile-subcommand
add profile subcommand
- Loading branch information
Showing
11 changed files
with
517 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,4 @@ You should be familiar with them in order to fully utilize Bash-it. | |
search | ||
reload | ||
doctor | ||
profile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
.. _profile: | ||
|
||
Bash-it Profile | ||
--------------- | ||
|
||
Have you ever wanted to port your *Bash-it* configuration into another machine? | ||
|
||
If you did, then ``bash-it profile`` is for you! | ||
|
||
This command can save and load custom *"profile"* files, that can be later | ||
used to load and recreate your configuration, in any machine you would like |:smile:| | ||
|
||
When porting your configuration into a new machine, you just need to save your current profile, copy the resulting *"profile"* file, and load it in the other machine. | ||
|
||
Example | ||
^^^^^^^ | ||
|
||
.. code-block:: bash | ||
# Saves your current profile | ||
bash-it profile save my_profile | ||
# Load the default profile, which is the one used in the default installation. | ||
bash-it profile load default | ||
# Do whatever you want: | ||
# Disable stuff | ||
bash-it disable ... | ||
# Enable stuff | ||
bash-it enable ... | ||
# If you want to get back into your original configuration, you can do it easily | ||
bash-it profile load my_profile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.