mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 11:19:22 +01:00
bashrc & zshrc: add tmuxeattach. Closes #34 .
tmux emergency attach. I didn't think of any better name.
This commit is contained in:
parent
72f384701e
commit
2bb9eb9f97
3
bashrc
3
bashrc
@ -535,6 +535,9 @@ alias isodateu='date -u "+%Y-%m-%d %H:%M:%S%z"'
|
|||||||
# Show information on PEM file.
|
# Show information on PEM file.
|
||||||
alias peminfo="openssl x509 -text -in"
|
alias peminfo="openssl x509 -text -in"
|
||||||
|
|
||||||
|
# tmux emergency attach
|
||||||
|
alias tmuxeattach="/proc/$(pgrep -o tmux)/exe attach"
|
||||||
|
|
||||||
# Allow custom aliases to be put in .aliases or .bash_aliases .
|
# Allow custom aliases to be put in .aliases or .bash_aliases .
|
||||||
|
|
||||||
# .aliases
|
# .aliases
|
||||||
|
3
zshrc
3
zshrc
@ -504,6 +504,9 @@ alias isodateu='date -u "+%Y-%m-%d %H:%M:%S%z"'
|
|||||||
# Show information on PEM file.
|
# Show information on PEM file.
|
||||||
alias peminfo="openssl x509 -text -in"
|
alias peminfo="openssl x509 -text -in"
|
||||||
|
|
||||||
|
# tmux emergency attach
|
||||||
|
alias tmuxeattach="/proc/$(pgrep -o tmux)/exe attach"
|
||||||
|
|
||||||
# .aliases
|
# .aliases
|
||||||
if [ -f ~/.aliases ]; then
|
if [ -f ~/.aliases ]; then
|
||||||
source ~/.aliases
|
source ~/.aliases
|
||||||
|
Loading…
Reference in New Issue
Block a user