Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hicolour/awesome-fzf

Simple utilities makes the biggest difference
https://github.com/hicolour/awesome-fzf

List: awesome-fzf

daily fzf fzf-scripts rutines unixporn

Last synced: about 2 months ago
JSON representation

Simple utilities makes the biggest difference

Awesome Lists containing this project

README

        

# fzf is awesome
Simple utilities makes the biggest difference

### History

Search and paste to console
```
hs() { stty -echo && history | grep ""$@ | awk '{$1=$2=$3=""; print $0}' | fzf | xargs -I {} xdotool type {} && stty echo; }
```

Search and execute to console
```
hsa() { history | awk '{$1=$2=$3=""; print $0}' | fzf | xargs -0 -I {} xdotool type {} ; }
```

# Process

Process search and kill
```
psk() { ps -afx| fzf | xargs -0 -I {} echo {} | awk '{ printf $1 }' | xargs -0 -I {} kill -9 {}; }
```

# Daily rutine

Jump to the project dir

```
jp() { find ~/projects/ -maxdepth 3 -type d | fzf | xargs -0 -I {} xdotool type "cd {}" ; }
```