From 43d6413dd2b4b285598860c75487d12490598d02 Mon Sep 17 00:00:00 2001 From: Paul Walker Date: Wed, 22 Jul 2020 15:50:33 +0100 Subject: [PATCH 1/2] local: update sec1 --- bashrc.d/local/stbbri-sec-1.bash | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/bashrc.d/local/stbbri-sec-1.bash b/bashrc.d/local/stbbri-sec-1.bash index 57edb0f..913e4bd 100644 --- a/bashrc.d/local/stbbri-sec-1.bash +++ b/bashrc.d/local/stbbri-sec-1.bash @@ -26,12 +26,14 @@ alias log2='git log --graph --oneline --all --decorate=full' alias v=vbindiff alias ctags=ctags-exuberant +export JTAG_IP=10.178.4.198 + # Misc work -alias jtagserial='telnet 10.178.5.209 2300' +alias jtagserial="telnet $JTAG_IP 2300" # Security -alias flash='webflasher.pl -i 10.178.4.7' -alias flashfirstimage='webflasher.pl -i 10.178.4.7 -s 0x100000' +alias flash="webflasher.pl -i $JTAG_IP" +alias flashfirstimage="webflasher.pl -i $JTAG_IP -s 0x100000" alias goscratch='cd /local/scratch/pw921828' alias goproj="cd /local/proj/irdeto" From e0fa5ce4869fd8a5a08995863a58a4c5c416fe71 Mon Sep 17 00:00:00 2001 From: Paul Walker Date: Wed, 22 Jul 2020 15:50:47 +0100 Subject: [PATCH 2/2] tmux: add P command to save history --- tmux.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/tmux.conf b/tmux.conf index 853bc3d..5e317dd 100644 --- a/tmux.conf +++ b/tmux.conf @@ -5,6 +5,7 @@ set -g base-index 1 bind C-l send-keys 'C-l' bind r source ~/.tmux.conf\; display "~/.tmux.conf sourced!" +bind-key P command-prompt -p 'save history to filename:' -I '~/tmux.history' 'capture-pane -S -32768 ; save-buffer %1 ; delete-buffer' # List of plugins set -g @plugin 'tmux-plugins/tpm'