From c221a045feed1b1470c83685d5e870f8a2a05326 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Wed, 4 Sep 2019 09:38:38 +0200 Subject: work laptop --- by_os/Linux/X/.Xmodmap.barkley | 8 ++++++++ zsh/.zshrc | 4 ++++ zsh/.zshrc.work | 3 +++ 3 files changed, 15 insertions(+) create mode 100644 by_os/Linux/X/.Xmodmap.barkley create mode 100644 zsh/.zshrc.work diff --git a/by_os/Linux/X/.Xmodmap.barkley b/by_os/Linux/X/.Xmodmap.barkley new file mode 100644 index 0000000..13ce6df --- /dev/null +++ b/by_os/Linux/X/.Xmodmap.barkley @@ -0,0 +1,8 @@ +clear Lock +!caps lock +keycode 66 = F13 +keycode 68 = XF86AudioMute +keycode 69 = XF86AudioLowerVolume +keycode 70 = XF86AudioRaiseVolume +keycode 232 = XF86MonBrightnessDown +keycode 233 = XF86MonBrightnessUp diff --git a/zsh/.zshrc b/zsh/.zshrc index 99f2570..b12a727 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -364,3 +364,7 @@ if [[ $_HOST_TYPE == "Linux" ]]; then alias lpimg='/usr/bin/lp -o fit-to-page' fi +if [[ $(hostname) == "barkley" ]]; then + source $HOME/.files/zsh/.zshrc.work +fi + diff --git a/zsh/.zshrc.work b/zsh/.zshrc.work new file mode 100644 index 0000000..cd9b497 --- /dev/null +++ b/zsh/.zshrc.work @@ -0,0 +1,3 @@ +if [ -f '/home/pks/work/google-cloud-sdk/path.zsh.inc' ]; then . '/home/pks/work/google-cloud-sdk/path.zsh.inc'; fi +if [ -f '/home/pks/work/google-cloud-sdk/completion.zsh.inc' ]; then . '/home/pks/work/google-cloud-sdk/completion.zsh.inc'; fi + -- cgit v1.2.3