From 59b507d8187e85b28add74f17db9070f9f70d9d5 Mon Sep 17 00:00:00 2001 From: Antoine Date: Mon, 25 Mar 2024 17:53:40 +0100 Subject: [PATCH] add fzf alias --- bash_profile | 1 + bashrc | 2 +- setup_macos | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) mode change 100644 => 100755 setup_macos diff --git a/bash_profile b/bash_profile index f7ec86a..2e5152a 100644 --- a/bash_profile +++ b/bash_profile @@ -14,4 +14,5 @@ alias n="cd ~/notes" alias nv="nvim" alias t="tmux" alias d="cd ~/dev" +alias sd="cd ~ && cd \$(find * -type d | fzf)" eval "$(starship init bash)" diff --git a/bashrc b/bashrc index 59d0e89..9d01c2a 100644 --- a/bashrc +++ b/bashrc @@ -4,5 +4,5 @@ alias ~="cd ~" alias n="cd ~/notes" alias nv="nvim" alias t="tmux" - +alias sd="cd ~ && cd \$(find * -type d | fzf)" eval "$(starship init bash)" diff --git a/setup_macos b/setup_macos old mode 100644 new mode 100755 index 64ed911..6e65fce --- a/setup_macos +++ b/setup_macos @@ -31,7 +31,7 @@ cp init.lua "$XDG_CONFIG_HOME"/nvim/lua/user/init.lua # Install other Mac Packages /opt/homebrew/bin/brew install --cask obsidian vlc firefox amethyst hiddenbar karabiner-elements bitwarden signal -/opt/homebrew/bin/brew install tmux starship ripgrep lazygit bottom wireguard-go ffmpeg gh starship +/opt/homebrew/bin/brew install tmux ripgrep lazygit bottom wireguard-go ffmpeg gh starship fzf mkdir -p "$XDG_CONFIG_HOME"/karabiner/complex_modifications