A couple small tweaks.
This commit is contained in:
@@ -19,7 +19,7 @@ export PS1=$'\n'"%F{green} %*%F %3~ %F{white}"$'\n'"$ "
|
|||||||
plugins=(git brew history kubectl history-substring-search)
|
plugins=(git brew history kubectl history-substring-search)
|
||||||
|
|
||||||
# Custom $PATH with extra locations.
|
# Custom $PATH with extra locations.
|
||||||
export PATH=/opt/homebrew/bin:/usr/local/bin:/usr/local/sbin:$HOME/bin:$HOME/go/bin:/usr/local/git/bin:$HOME/.composer/vendor/bin:$PATH
|
export PATH=$HOME/Library/Python/3.9/bin:/opt/homebrew/bin:/usr/local/bin:/usr/local/sbin:$HOME/bin:$HOME/go/bin:$HOME/.cargo/bin:/usr/local/git/bin:$HOME/.composer/vendor/bin:$PATH
|
||||||
|
|
||||||
# Bash-style time output.
|
# Bash-style time output.
|
||||||
export TIMEFMT=$'\nreal\t%*E\nuser\t%*U\nsys\t%*S'
|
export TIMEFMT=$'\nreal\t%*E\nuser\t%*U\nsys\t%*S'
|
||||||
@@ -81,6 +81,7 @@ export HOMEBREW_AUTO_UPDATE_SECS=604800
|
|||||||
|
|
||||||
# Super useful Docker container oneshots.
|
# Super useful Docker container oneshots.
|
||||||
# Usage: dockrun, or dockrun [centos7|fedora27|debian9|debian8|ubuntu1404|etc.]
|
# Usage: dockrun, or dockrun [centos7|fedora27|debian9|debian8|ubuntu1404|etc.]
|
||||||
|
# Run on arm64 if getting errors: `export DOCKER_DEFAULT_PLATFORM=linux/amd64`
|
||||||
dockrun() {
|
dockrun() {
|
||||||
docker run -it geerlingguy/docker-"${1:-ubuntu1604}"-ansible /bin/bash
|
docker run -it geerlingguy/docker-"${1:-ubuntu1604}"-ansible /bin/bash
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user