mirror of
https://github.com/ChrisTitusTech/mybash.git
synced 2026-04-02 18:48:14 +00:00
9
.bashrc
9
.bashrc
@@ -30,6 +30,7 @@ if [[ $iatest -gt 0 ]]; then bind "set bell-style visible"; fi
|
||||
# Expand the history size
|
||||
export HISTFILESIZE=10000
|
||||
export HISTSIZE=500
|
||||
export HISTTIMEFORMAT="%F %T" # add timestamp to history
|
||||
|
||||
# Don't put duplicate lines in the history and do not add lines that start with a space
|
||||
export HISTCONTROL=erasedups:ignoredups:ignorespace
|
||||
@@ -238,6 +239,14 @@ alias clickpaste='sleep 3; xdotool type "$(xclip -o -selection clipboard)"'
|
||||
|
||||
alias kssh="kitty +kitten ssh"
|
||||
|
||||
# alias to cleanup unused docker containers, images, networks, and volumes
|
||||
|
||||
alias docker-clean=' \
|
||||
docker container prune -f ; \
|
||||
docker image prune -f ; \
|
||||
docker network prune -f ; \
|
||||
docker volume prune -f '
|
||||
|
||||
#######################################################
|
||||
# SPECIAL FUNCTIONS
|
||||
#######################################################
|
||||
|
||||
Reference in New Issue
Block a user