This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- linux/drivers/firewire/ohci.c | |
+++ linux/drivers/firewire/ohci.c | |
@@ -275,6 +275,8 @@ | |
#define PCI_DEVICE_ID_AGERE_FW643 0x5901 | |
#define PCI_DEVICE_ID_CREATIVE_SB1394 0x4001 | |
#define PCI_DEVICE_ID_JMICRON_JMB38X_FW 0x2380 | |
+#define PCI_DEVICE_ID_RICOH_R5C832 0x0832 | |
+#define PCI_DEVICE_ID_RICOH_R5C832_E 0xe832 | |
#define PCI_DEVICE_ID_TI_TSB12LV22 0x8009 | |
#define PCI_DEVICE_ID_TI_TSB12LV26 0x8020 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# set tmux pane and tab title | |
function tmux_title_precmd() { | |
print -Pn "\e]2;zsh\a" | |
print -Pn "\e]1;zsh\a" | |
} | |
function tmux_title_preexec() { | |
print -Pn "\e]2;$(echo "$1" | cut -d" " -f1)\a" | |
print -Pn "\e]1;$1\a" | |
# print -Pn "\e]2;$2:q\a" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# zle is active only if terminal is in application mode | |
# since only then values from $terminfo are valid | |
if (( ${+terminfo[smkx]} )) && (( ${+terminfo[rmkx]} )); then | |
function zle-line-init() { echoti smkx } | |
function zle-line-finish() { echoti rmkx } | |
zle -N zle-line-init | |
zle -N zle-line-finish | |
fi | |
# [Home] - go to beginning of line |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function ranger-cd { | |
tempfile="$(mktemp -t tmp.XXXXXX)" | |
/usr/bin/ranger --choosedir="$tempfile" "${@:-$(pwd)}" | |
test -f "$tempfile" && | |
if [ "$(cat -- "$tempfile")" != "$(echo -n `pwd`)" ]; then | |
cd -- "$(cat "$tempfile")" | |
fi | |
/usr/bin/rm -f -- "$tempfile" | |
} |