Skip to content

Commit

Permalink
Stop history bloat.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kanashimia committed Apr 15, 2021
1 parent 0221aa8 commit 562a652
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
9 changes: 6 additions & 3 deletions dotfiles/fish.fish
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ if status is-interactive
#IFS="" paste (printf "\n\n%b" (fortune | sed "s/^/ /" | expand) | psub) (echo $anime | psub) | column -s '$'\t -t
#echo -e $anime
end

set fish_history ""

# if string match -q "*scratchpad*" (xprop -id $WINDOWID WM_CLASS)
# and test $LINES -gt 30 -a $COLUMNS -gt 100
# set -l IFS ""
Expand Down Expand Up @@ -148,9 +151,9 @@ export FZF_DEFAULT_OPTS='--no-extended --multi --ansi --color 16,bg+:#343b51,hl+
#export LESS='--mouse --wheel-lines 3'
#export MANLESS=''

function _hist_sync --on-event=fish_prompt
history merge
end
#function _hist_sync --on-event=fish_prompt
# history merge
#end

function expand_glob
set -l tokens (eval string escape -- (commandline -ct))
Expand Down
4 changes: 0 additions & 4 deletions dotfiles/tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ bind-key -T copy-mode-vi 'y' send -X copy-selection
bind-key -T copy-mode-vi 'Space' send -X halfpage-down
bind-key -T copy-mode-vi 'Bspace' send -X halfpage-up

# extra commands for interacting with the ICCCM clipboard
bind C-c run "tmux save-buffer - | xclip -i -sel clipboard"
bind C-v run "tmux set-buffer \"$(xclip -o -sel clipboard)\"; tmux paste-buffer"

# easy-to-remember split pane commands
bind C-k split-window -h
bind C-j split-window -v
Expand Down
2 changes: 1 addition & 1 deletion system.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

nix.package = pkgs.nixFlakes;
environment.systemPackages = with pkgs; [
htop kakoune fd ripgrep git pciutils glxinfo unstable.manix tree dash linuxPackages.perf inxi xsel xorg.xev argyllcms xcalib
htop kakoune fd ripgrep git pciutils glxinfo unstable.manix tree dash linuxPackages.perf inxi xsel xclip xorg.xev xcalib
];

nix.extraOptions = "experimental-features = nix-command flakes";
Expand Down

0 comments on commit 562a652

Please sign in to comment.