Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function lac
- {
- echo -n $PATH | xargs -d : -I {} find {} -maxdepth 1 \
- -executable -type f -printf '%P\n' | sort -u
- }
- function lac
- {
- COMMANDS=`echo -n $PATH | xargs -d : -I {} find {} -maxdepth 1 \
- -executable -type f -printf '%P\n'`
- ALIASES=`alias | cut -d '=' -f 1`
- echo "$COMMANDS"$'\n'"$ALIASES" | sort -u
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement