Some changes from work machine
This commit is contained in:
committed by
Vasili Svirydau
parent
6b2245dd16
commit
e743c663ac
2
bash.d/10-no-elastic-apm.sh
Normal file
2
bash.d/10-no-elastic-apm.sh
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
export ELASTIC_APM_DISABLE_SEND=true
|
||||||
1
bash.d/10-no-pact-spying.sh
Normal file
1
bash.d/10-no-pact-spying.sh
Normal file
@@ -0,0 +1 @@
|
|||||||
|
export PACT_DO_NOT_TRACK=1
|
||||||
@@ -9,3 +9,7 @@ fi
|
|||||||
if [ -e "$HOME/.bin" ]; then
|
if [ -e "$HOME/.bin" ]; then
|
||||||
export PATH="$HOME/.bin:$PATH"
|
export PATH="$HOME/.bin:$PATH"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -w "$HOME/go/bin" ]; then
|
||||||
|
export PATH="$HOME/go/bin:$PATH"
|
||||||
|
fi
|
||||||
|
|||||||
@@ -3,3 +3,15 @@
|
|||||||
function gr() {
|
function gr() {
|
||||||
cd "$(git rev-parse --show-toplevel)" || return
|
cd "$(git rev-parse --show-toplevel)" || return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function tdd() {
|
||||||
|
set +e
|
||||||
|
path=$1
|
||||||
|
shift
|
||||||
|
echo "Path: \"$path\""
|
||||||
|
echo "Command: \"$@\""
|
||||||
|
while [[ $? == 0 ]]
|
||||||
|
inotifywait -r "$path" -e create -qq;
|
||||||
|
eval "$@"
|
||||||
|
do echo $?; done;
|
||||||
|
}
|
||||||
|
|||||||
11
bash.d/20-nvm.sh
Normal file
11
bash.d/20-nvm.sh
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if test -d ~/.nvm; then
|
||||||
|
NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
|
||||||
|
export NVM_DIR
|
||||||
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||||
|
fi
|
||||||
|
|
||||||
|
function dotfiles_install_nvm() {
|
||||||
|
git clone git@github.com:nvm-sh/nvm.git ~/.nvm
|
||||||
|
}
|
||||||
9
bash.d/20-rbenv.sh
Normal file
9
bash.d/20-rbenv.sh
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if command -v rbenv > /dev/null; then
|
||||||
|
eval "$(rbenv init -)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
function dotfiles_install_rbenv {
|
||||||
|
sudo apt install rbenv
|
||||||
|
}
|
||||||
3
bash.d/30-dotnet-env.sh
Normal file
3
bash.d/30-dotnet-env.sh
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
export ASPNETCORE_ENVIRONMENT=Development
|
||||||
@@ -1,2 +1,6 @@
|
|||||||
[elixir]
|
[elixir]
|
||||||
disabled=true
|
disabled=true
|
||||||
|
|
||||||
|
[kubernetes]
|
||||||
|
disabled=false
|
||||||
|
# format = 'on [⛵ $context \($namespace\)](dimmed green) '
|
||||||
|
|||||||
@@ -29,4 +29,7 @@
|
|||||||
ignore = "!gi() { curl -sL https://www.gitignore.io/api/$@ ;}; gi"
|
ignore = "!gi() { curl -sL https://www.gitignore.io/api/$@ ;}; gi"
|
||||||
|
|
||||||
[rebase]
|
[rebase]
|
||||||
instructionFormat = (%an <%ae>) %s
|
instructionFormat = (%an <%ae>) %s
|
||||||
|
[pull]
|
||||||
|
rebase = true
|
||||||
|
ff = only
|
||||||
|
|||||||
Reference in New Issue
Block a user