diff --git a/.bash_aliases b/.bash_aliases index be800d4..8eba0e2 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -28,10 +28,11 @@ alias gsp="git stage -p" alias gflog="git log -- " alias gb="git --no-pager branch -l" # docker -alias dcu="docker-compose up" -alias dlogs="docker-compose logs -f" -alias dcd="docker-compose down" -alias dcr="docker-compose down && docker-compose up -d" +alias dcu="docker compose up" +alias dlogs="docker compose logs -f" +alias dcd="docker compose down" +alias dcr="docker compose down && docker compose up -d" +alias dps="docker ps --no-trunc --all --format 'table {{.Names}}\t{{.Status}}\t{{.State}}\t{{.CreatedAt}}\t{{.RunningFor}}\t{{.Size}}'" # safeguard alias mv="mv -i " alias cp="cp -i " diff --git a/.tmux.conf b/.tmux.conf index f90e30a..24b4438 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -60,3 +60,8 @@ bind f copy-mode\; send-keys ? # Focus events enabled for terminals that support them set -g focus-events on + +# Move Panes interactively +# https://www.reddit.com/r/commandline/comments/8wv0w6/interactively_moving_panes_to_other_windows/ +unbind m +bind-key m choose-tree -Z "join-pane -t '%%'"