Compare commits
No commits in common. "ed3eeb94599980b6abd508ee195e3be1ffe995e4" and "0fc43e1563fca11886a89d90432b1651cf44d843" have entirely different histories.
ed3eeb9459
...
0fc43e1563
5
.config/youtube-dl/config
Normal file
5
.config/youtube-dl/config
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-o "%(title)s [%(id)s].%(ext)s"
|
||||||
|
-f "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best"
|
||||||
|
--add-metadata
|
||||||
|
--geo-bypass
|
||||||
|
--continue
|
@ -1,12 +1,6 @@
|
|||||||
# Search for docker-compose files in the current and all sub direcotries and run docker compose with provided arguments
|
# Search for docker-compose files in the current and all sub direcotries and run docker compose with provided arguments
|
||||||
|
|
||||||
function dc() {
|
function dc() {
|
||||||
if [ -z "$1" ]; then
|
|
||||||
# display usage if no parameters given
|
|
||||||
echo "Search for docker-compose files in the current and all sub direcotries and run docker compose with provided arguments"
|
|
||||||
echo "Usage: dc <docker compose commands>"
|
|
||||||
return 1
|
|
||||||
else
|
|
||||||
# Save current working directory
|
# Save current working directory
|
||||||
CURRENT_DIR="${PWD}"
|
CURRENT_DIR="${PWD}"
|
||||||
|
|
||||||
@ -17,5 +11,4 @@ function dc() {
|
|||||||
|
|
||||||
# Change back to saved working directory
|
# Change back to saved working directory
|
||||||
cd ${CURRENT_DIR}
|
cd ${CURRENT_DIR}
|
||||||
fi
|
|
||||||
}
|
}
|
@ -3,19 +3,19 @@
|
|||||||
function zwcautocompile () {
|
function zwcautocompile () {
|
||||||
autoload -Uz zrecompile
|
autoload -Uz zrecompile
|
||||||
|
|
||||||
for f in $(find ${ZDOTDIR} -maxdepth 3 -type f \( -name "*.zsh" -o -name ".zlogin" -o -name ".zshrc" \) ! -name "*.zwc" ! -name "*.zwc.old"); do
|
for zsh_file in $(find ${ZDOTDIR} -maxdepth 3 -type f \( -name "*.zsh" -o -name ".zlogin" -o -name ".zshrc" \) ! -name "*.zwc" ! -name "*.zwc.old"); do
|
||||||
zrecompile -pq ${f} && rm -f ${f}.zwc.old
|
zrecompile -pq $zsh_file && rm -f $zsh_file.zwc.old
|
||||||
done
|
done
|
||||||
|
|
||||||
if [[ -d ${ZAUTOLOADDIR} ]]; then
|
if [[ -d ${ZAUTOLOADDIR} ]]; then
|
||||||
for f in ${ZAUTOLOADDIR}/*; do
|
for f in ${ZAUTOLOADDIR}/*; do
|
||||||
zrecompile -pq ${f} && rm -f ${f}.zwc.old
|
zrecompile -pq $f && rm -f $f.zwc.old
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -d ${ZLIBDIR} ]]; then
|
if [[ -d ${ZLIBDIR} ]]; then
|
||||||
for f in ${ZLIBDIR}/*; do
|
for f in ${ZLIBDIR}/*; do
|
||||||
zrecompile -pq ${f} && rm -f ${f}.zwc.old
|
zrecompile -pq $f && rm -f $f.zwc.old
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
}
|
}
|
@ -21,5 +21,6 @@ export PYTHONUSERBASE=${HOME}/.local
|
|||||||
export INPUTRC="${XDG_CONFIG_HOME}/readline/inputrc"
|
export INPUTRC="${XDG_CONFIG_HOME}/readline/inputrc"
|
||||||
export MANPATH="${MANPATH-$(manpath)}:${HOME}/.local/share/man"
|
export MANPATH="${MANPATH-$(manpath)}:${HOME}/.local/share/man"
|
||||||
|
|
||||||
|
|
||||||
# EZA
|
# EZA
|
||||||
EZA_CONFIG_DIR=${XDG_CONFIG_HOME}/eza
|
EZA_CONFIG_DIR=${XDG_CONFIG_HOME}/eza
|
@ -1,5 +1,4 @@
|
|||||||
# Keybindings
|
# zsh-history-substring-search configuration
|
||||||
bindkey '^[[A' history-substring-search-up # or '\eOA'
|
bindkey '^[[A' history-substring-search-up # or '\eOA'
|
||||||
bindkey '^[[B' history-substring-search-down # or '\eOB'
|
bindkey '^[[B' history-substring-search-down # or '\eOB'
|
||||||
|
|
||||||
HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE=1
|
HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE=1
|
@ -21,7 +21,6 @@ plugin_repos=(
|
|||||||
|
|
||||||
zsh-users/zsh-autosuggestions
|
zsh-users/zsh-autosuggestions
|
||||||
zsh-users/zsh-syntax-highlighting
|
zsh-users/zsh-syntax-highlighting
|
||||||
kulynyak/zsh.prepend-sudo
|
|
||||||
zsh-users/zsh-history-substring-search
|
zsh-users/zsh-history-substring-search
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user