Merge branch 'master' into laptop
This commit is contained in:
commit
51e4a72bfd
|
@ -5,8 +5,9 @@
|
||||||
##########################################
|
##########################################
|
||||||
|
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
source "$XDG_CONFIG_HOME"/zsh/secrets.sh
|
|
||||||
export XDG_RUNTIME_DIR=/run/user/1000
|
export XDG_RUNTIME_DIR=/run/user/1000
|
||||||
|
export XDG_CONFIG_HOME=/home/server/.config
|
||||||
|
source "$XDG_CONFIG_HOME"/zsh/secrets.sh
|
||||||
|
|
||||||
##########################################
|
##########################################
|
||||||
# Create sqlite3 backup for Vaultwarden #
|
# Create sqlite3 backup for Vaultwarden #
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
virt-viewer -c qemu:///system Riva --attach -k
|
|
@ -1,5 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
export XDG_CONFIG_HOME=/home/server/.config
|
||||||
source "$XDG_CONFIG_HOME"/zsh/secrets.sh
|
source "$XDG_CONFIG_HOME"/zsh/secrets.sh
|
||||||
|
|
||||||
for _ in {1..2}; do
|
for _ in {1..2}; do
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
if [[ -z "${XDG_CONFIG_HOME}" ]]; then
|
|
||||||
source ~/.profile
|
source ~/.profile
|
||||||
fi
|
|
||||||
|
|
||||||
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.config/zsh/.zshrc.
|
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.config/zsh/.zshrc.
|
||||||
# Initialization code that may require console input (password prompts, [y/n]
|
# Initialization code that may require console input (password prompts, [y/n]
|
||||||
|
@ -162,7 +160,7 @@ function zvm_after_init() {
|
||||||
if [ "$REMOTE_PATH" != "" ]; then
|
if [ "$REMOTE_PATH" != "" ]; then
|
||||||
cd "$REMOTE_PATH"
|
cd "$REMOTE_PATH"
|
||||||
elif [ "$PREVIOUS_SESSION_ID" != "" ]; then
|
elif [ "$PREVIOUS_SESSION_ID" != "" ]; then
|
||||||
cd $(readlink -e /proc/$(cat /tmp/ssh_sessions/$PREVIOUS_SESSION_ID)/cwd)
|
cd "$(readlink -e /proc/$(cat /tmp/ssh_sessions/$PREVIOUS_SESSION_ID)/cwd)"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue