Add catc command to zshrc, cat-copy
This commit is contained in:
parent
2fb39e8b60
commit
e09a435efa
1 changed files with 4 additions and 0 deletions
|
|
@ -144,6 +144,10 @@ bwp() {
|
||||||
bw get password "$1" | wlc
|
bw get password "$1" | wlc
|
||||||
}
|
}
|
||||||
|
|
||||||
|
catc() {
|
||||||
|
cat "$1" | wlc
|
||||||
|
}
|
||||||
|
|
||||||
# Check if tmux is already running or if the session is interactive
|
# Check if tmux is already running or if the session is interactive
|
||||||
if [[ -z "$TMUX" ]] && [[ $- == *i* ]]; then
|
if [[ -z "$TMUX" ]] && [[ $- == *i* ]]; then
|
||||||
# Create a new tmux session, if one doesnt exist, give it the main name, never attach to a session
|
# Create a new tmux session, if one doesnt exist, give it the main name, never attach to a session
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue