Compare commits
9 Commits
f56ddf60ec
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
9142551060
|
|||
|
a8a5aefec3
|
|||
|
fe6828a82e
|
|||
|
ecda31e120
|
|||
|
c8f2c3b80e
|
|||
|
39850fe666
|
|||
|
3b615b817b
|
|||
|
c0cc776a68
|
|||
|
1e421c0083
|
@@ -3,6 +3,11 @@ export PATH="${HOME}/.local/bin:${PATH}"
|
|||||||
export LD_LIBRARY_PATH="${HOME}/.local/lib:${LD_LIBRARY_PATH}"
|
export LD_LIBRARY_PATH="${HOME}/.local/lib:${LD_LIBRARY_PATH}"
|
||||||
export PKG_CONFIG_PATH="${HOME}/.local/lib/pkgconfig:${PKG_CONFIG_PATH}"
|
export PKG_CONFIG_PATH="${HOME}/.local/lib/pkgconfig:${PKG_CONFIG_PATH}"
|
||||||
|
|
||||||
|
# Make sure this is PATH
|
||||||
|
if [[ -d "${HOME}/.ghcup/bin" ]]; then
|
||||||
|
export PATH=":${HOME}/.ghcup/bin:${PATH}"
|
||||||
|
fi
|
||||||
|
|
||||||
# Because I use zsh to start graphical sessions
|
# Because I use zsh to start graphical sessions
|
||||||
[[ -v ZSH_GRAPHICAL_LOGIN ]] || ZSH_GRAPHICAL_LOGIN=true
|
[[ -v ZSH_GRAPHICAL_LOGIN ]] || ZSH_GRAPHICAL_LOGIN=true
|
||||||
if [[ -o login ]] && [[ "${ZSH_GRAPHICAL_LOGIN}" = 'true' ]] ; then
|
if [[ -o login ]] && [[ "${ZSH_GRAPHICAL_LOGIN}" = 'true' ]] ; then
|
||||||
|
|||||||
@@ -289,7 +289,7 @@ compdef _bmrm bmrm
|
|||||||
|
|
||||||
function __bm_precmd_hook {
|
function __bm_precmd_hook {
|
||||||
# Auto reload
|
# Auto reload
|
||||||
if [[ "${BM_AUTO_RELOAD}" == true ]] &&
|
if [[ "${BM_AUTO_RELOAD}" == true ]] && [[ -e "${BM_BOOKMARK_PATH}" ]] &&
|
||||||
(( ${__bm_last_read_time} < $(zstat +mtime "${BM_BOOKMARK_PATH}") )); then
|
(( ${__bm_last_read_time} < $(zstat +mtime "${BM_BOOKMARK_PATH}") )); then
|
||||||
__bm_update_bookmark_list
|
__bm_update_bookmark_list
|
||||||
fi
|
fi
|
||||||
|
|||||||
4
init.zsh
4
init.zsh
@@ -28,6 +28,8 @@ function source_user_file {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Mostly for setting $PATH before the GUI starts
|
||||||
|
source_user_file "local-early"
|
||||||
# Load user early init file
|
# Load user early init file
|
||||||
source_user_file "early-init"
|
source_user_file "early-init"
|
||||||
|
|
||||||
@@ -152,7 +154,7 @@ if cmd_exists clash; then
|
|||||||
alias tp="clash put"
|
alias tp="clash put"
|
||||||
alias trr="clash restore"
|
alias trr="clash restore"
|
||||||
alias trl="clash list"
|
alias trl="clash list"
|
||||||
alias tre="clash emtpy"
|
alias tre="clash empty"
|
||||||
alias trm="clash empty"
|
alias trm="clash empty"
|
||||||
elif cmd_exists trash-put; then
|
elif cmd_exists trash-put; then
|
||||||
alias rm='echo "rm: I''m unsafe! Don''t use me."; false'
|
alias rm='echo "rm: I''m unsafe! Don''t use me."; false'
|
||||||
|
|||||||
Submodule plugins/fzf-tab updated: cbdc58226a...0983009f86
Submodule plugins/zsh-completions updated: a83d61b6c6...8b97eaf521
Reference in New Issue
Block a user