Compare commits
3 Commits
8fc95d8e90
...
master
Author | SHA1 | Date | |
---|---|---|---|
2aaf279c9e | |||
5b0012ffc1 | |||
af4fb0e5fa |
@ -1,17 +1,16 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
function term_change_title
|
function term_change_title {
|
||||||
{
|
|
||||||
case $TERM in
|
case $TERM in
|
||||||
# Change the window title of X terminals
|
# Change the window title of X terminals
|
||||||
xterm*|rxvt*|urxvt*|Eterm)
|
xterm* | rxvt* | urxvt* | Eterm)
|
||||||
echo -ne "\033]0;${1}\007"
|
echo -ne "\033]0;${1}\007"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
# Change the window title of screen terminals
|
# Change the window title of screen terminals
|
||||||
screen*)
|
screen* | tmux*)
|
||||||
echo -ne "\033k${1}\033\\"
|
echo -ne "\033k${1}\033\\"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
}
|
}
|
||||||
|
31
rc.d/fzf
Normal file
31
rc.d/fzf
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if (command -v fzf &>/dev/null); then
|
||||||
|
|
||||||
|
source <(fzf --bash)
|
||||||
|
|
||||||
|
# Selection de fichiers
|
||||||
|
export FZF_CTRL_T_OPTS="--height 60% \
|
||||||
|
--border sharp \
|
||||||
|
--layout reverse \
|
||||||
|
--prompt ' ' \
|
||||||
|
--pointer ❯ \
|
||||||
|
--marker ✔"
|
||||||
|
|
||||||
|
# Navigation vers un répertoire
|
||||||
|
export FZF_ALT_C_OPTS="--height 60% \
|
||||||
|
--border sharp \
|
||||||
|
--layout reverse \
|
||||||
|
--prompt ' ' \
|
||||||
|
--pointer ❯ \
|
||||||
|
--marker ✔"
|
||||||
|
|
||||||
|
# Navigation dans l'historique
|
||||||
|
export FZF_CTRL_R_OPTS="--height 60% \
|
||||||
|
--border sharp \
|
||||||
|
--layout reverse \
|
||||||
|
--prompt ' ' \
|
||||||
|
--pointer ❯ \
|
||||||
|
--marker ✔"
|
||||||
|
|
||||||
|
fi
|
5
rc.d/zoxide
Normal file
5
rc.d/zoxide
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if (command -v zoxide &>/dev/null); then
|
||||||
|
eval "$(zoxide init bash)"
|
||||||
|
fi
|
Reference in New Issue
Block a user