Compare commits
No commits in common. "51e4a72bfda2f258ec404f6a54918ab9af447ede" and "0d0586625dd8d0d231f48cc4845cca4fa9af4b4f" have entirely different histories.
51e4a72bfd
...
0d0586625d
|
@ -5,9 +5,8 @@
|
||||||
##########################################
|
##########################################
|
||||||
|
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
export XDG_RUNTIME_DIR=/run/user/1000
|
|
||||||
export XDG_CONFIG_HOME=/home/server/.config
|
|
||||||
source "$XDG_CONFIG_HOME"/zsh/secrets.sh
|
source "$XDG_CONFIG_HOME"/zsh/secrets.sh
|
||||||
|
export XDG_RUNTIME_DIR=/run/user/1000
|
||||||
|
|
||||||
##########################################
|
##########################################
|
||||||
# Create sqlite3 backup for Vaultwarden #
|
# Create sqlite3 backup for Vaultwarden #
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
virt-viewer -c qemu:///system Riva --attach -k
|
|
|
@ -1,6 +1,5 @@
|
||||||
#!/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,4 +1,6 @@
|
||||||
source ~/.profile
|
if [[ -z "${XDG_CONFIG_HOME}" ]]; then
|
||||||
|
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]
|
||||||
|
@ -160,7 +162,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