Skip to content

Instantly share code, notes, and snippets.

@joparara
Created October 16, 2024 23:23
Show Gist options
  • Save joparara/dfcd6437f916c98f9b175cb75f75033f to your computer and use it in GitHub Desktop.
Save joparara/dfcd6437f916c98f9b175cb75f75033f to your computer and use it in GitHub Desktop.
embellished ll command
ll will usually ls, but if you add any argument, it will run bat (fzf) (to view the file)
```bash
ll () {
if (( $# == 0 )); then
ls -alF
else
bat $(fzf) $1
fi
}
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment