Add scripts, configurations, docs from borgcube
This commit is contained in:
7
scripts/git-config.sh
Normal file → Executable file
7
scripts/git-config.sh
Normal file → Executable file
@@ -6,7 +6,12 @@ git config --global user.email martin.blazik@gooddata.com
|
||||
git config --global core.editor vim
|
||||
|
||||
git config --global alias.co checkout
|
||||
git config --global alias.cob "checkout -b"
|
||||
git config --global alias.br branch
|
||||
git config --global alias.ci commit
|
||||
git config --global alias.st status
|
||||
|
||||
git config --global alias.unstage "reset HEAD --"
|
||||
git config --global alias.ls "log --oneline"
|
||||
git config --global alias.aliases "config --get-regexp alias"
|
||||
git config --global alias.configs "config --list"
|
||||
git config --global alias.undo-commit "reset --soft HEAD^"
|
||||
|
||||
0
scripts/git-prompt-install.sh
Normal file → Executable file
0
scripts/git-prompt-install.sh
Normal file → Executable file
19
scripts/gnome-shortcuts.sh
Executable file
19
scripts/gnome-shortcuts.sh
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
# https://unix.stackexchange.com/questions/119432/save-custom-keyboard-shortcuts-in-gnome
|
||||
|
||||
set -o
|
||||
|
||||
CONF=conf/gnome-shortcuts.conf
|
||||
CONF_PATH=/org/gnome/settings-daemon/plugins/media-keys/
|
||||
|
||||
function dump() {
|
||||
dconf dump $CONF_PATH > $CONF
|
||||
}
|
||||
|
||||
function load() {
|
||||
dconf load $CONF_PATH < $CONF
|
||||
}
|
||||
|
||||
# zvol operaci
|
||||
|
||||
9
scripts/powershell-install.sh
Normal file
9
scripts/powershell-install.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -o
|
||||
|
||||
PWSH_PROFILE_NAME=Microsoft.PowerShell_profile.ps1
|
||||
PWSH_PROFILE_PATH=$HOME/.config/
|
||||
|
||||
cp config/$PWSH_PROFILE_NAME $PWSH_PROFILE_PATH
|
||||
|
||||
Reference in New Issue
Block a user