14-11-2023
This commit is contained in:
@@ -145,7 +145,7 @@ $ cat **
|
||||
|
||||
Puis **Tab**
|
||||
|
||||

|
||||
<img src="/Users/bruno/Documents/docs/docs/Linux/fzf5.png" alt="fzf5" style="zoom:100%;" />
|
||||
|
||||
Puis **Return**
|
||||
|
||||
@@ -173,7 +173,7 @@ $ nano /opt/**
|
||||
|
||||
Puis **Tab**
|
||||
|
||||

|
||||
<img src="/Users/bruno/Documents/docs/docs/Linux/fzf6.png" alt="fzf6" style="zoom:100%;" />
|
||||
|
||||
Puis **Return**
|
||||
|
||||
@@ -220,6 +220,22 @@ https://bluz71.github.io/2018/11/26/fuzzy-finding-in-bash-with-fzf.html
|
||||
|
||||
https://curatedgo.com/r/fzf-is-a-junegunnfzf/index.html
|
||||
|
||||
https://thevaluable.dev/practical-guide-fzf-example/
|
||||
|
||||
https://pragmaticpineapple.com/four-useful-fzf-tricks-for-your-terminal/
|
||||
|
||||
https://reposhub.com/linux/shell-applications/lincheney-fzf-tab-completion.html
|
||||
|
||||
|
||||
|
||||
```bash
|
||||
function activate-venv() {
|
||||
local selected_env
|
||||
selected_env=$(ls ~/.venv/ | fzf)
|
||||
|
||||
if [ -n "$selected_env" ]; then
|
||||
source "$HOME/.venv/$selected_env/bin/activate"
|
||||
fi
|
||||
}
|
||||
```
|
||||
|
||||
###
|
||||
Reference in New Issue
Block a user