chore 🔧: MICS changes
This commit is contained in:
parent
8872914577
commit
0e7fd56480
2 changed files with 14 additions and 9 deletions
20
zsh/.zshrc
20
zsh/.zshrc
|
@ -143,6 +143,10 @@ cpcf() {
|
|||
fi
|
||||
}
|
||||
|
||||
mount_gdrive() {
|
||||
rclone mount gdrive: ~/mnt/gdrive
|
||||
}
|
||||
|
||||
gh_open() {
|
||||
xdg-open "https://github.com/ad1822/$1"
|
||||
}
|
||||
|
@ -212,11 +216,11 @@ alias todocli='~/.todo/todo_cli.sh'
|
|||
|
||||
# fastfetch
|
||||
|
||||
if command -v tmux &> /dev/null && [ -z "$TMUX" ]; then
|
||||
if tmux has-session -t default 2>/dev/null; then
|
||||
tmux new-window -t default
|
||||
tmux attach-session -t default
|
||||
else
|
||||
tmux new-session -s default
|
||||
fi
|
||||
fi
|
||||
#if command -v tmux &> /dev/null && [ -z "$TMUX" ]; then
|
||||
# if tmux has-session -t default 2>/dev/null; then
|
||||
# tmux new-window -t default
|
||||
# tmux attach-session -t default
|
||||
# else
|
||||
# tmux new-session -s default
|
||||
# fi
|
||||
#fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue