From 15234e1ff713daf2bfe591b2a2d50a21de49ee14 Mon Sep 17 00:00:00 2001 From: Moritz Becker Date: Thu, 10 Oct 2024 16:57:52 +0200 Subject: [PATCH] added tmux as default and fzf, also asciiquarium for funsies --- dot_zshrc | 7 +++++++ run_once_basic_setup.sh | 2 +- run_once_install_nerdfonts.sh | 5 ----- ...inal_tools.sh => run_onchange_install-terminal-tools.sh | 0 4 files changed, 8 insertions(+), 6 deletions(-) rename run_onchange_install_terminal_tools.sh => run_onchange_install-terminal-tools.sh (100%) diff --git a/dot_zshrc b/dot_zshrc index 9389d7a..74b7407 100644 --- a/dot_zshrc +++ b/dot_zshrc @@ -91,4 +91,11 @@ source $ZSH/oh-my-zsh.sh # Example aliases alias zshconfig="mate ~/.zshrc" alias ohmyzsh="mate # ~/.oh-my-zsh" +eval $(thefuck --alias) +export FZF_DEFAULT_OPTS='--bind "ctrl-y:execute-silent(printf {} | cut -f 2- | wl-copy --trim-newline)"' +alias fzf="fzf --preview 'bat --color=always {}' --preview-window '50%' --bind 'enter:become(nvim {})' --tmux top,80%" + +tmux fastfetch --logo-type small + + diff --git a/run_once_basic_setup.sh b/run_once_basic_setup.sh index ab890d5..182e3b2 100644 --- a/run_once_basic_setup.sh +++ b/run_once_basic_setup.sh @@ -1,2 +1,2 @@ #!/bin/sh -sudo dnf install btop neovim +sudo dnf install btop neovim thefuck bat asciiquarium diff --git a/run_once_install_nerdfonts.sh b/run_once_install_nerdfonts.sh index fb7af85..833ce67 100644 --- a/run_once_install_nerdfonts.sh +++ b/run_once_install_nerdfonts.sh @@ -1,8 +1,6 @@ #!/bin/bash declare -a fonts=( - - <