-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b0ee2a6
commit 7c90a71
Showing
9 changed files
with
2,112 additions
and
3,098 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euo pipefail | ||
|
||
source "$DOTLY_PATH/scripts/core/_main.sh" | ||
|
||
##? Open one common element | ||
#?? 1.0.0 | ||
##? | ||
##? Usage: | ||
##? random | ||
docs::parse "$@" | ||
|
||
declare -A commands | ||
|
||
commands=( | ||
["domain"]="faker-cli --internet domainName" | ||
["email"]="faker-cli --internet email" | ||
["name"]="faker-cli --names firstName" | ||
["uuid"]="uuidgen" | ||
) | ||
|
||
command=$(printf "%s\n" "${!commands[@]}" | choose) | ||
|
||
if [[ -n ${commands[$command]} ]]; then | ||
eval "${commands[$command]}" | sed 's/"//g' | pbcopy | ||
else | ||
echo "No command selected" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
# If you modify this execute `zimfw uninstall & zimfw install` | ||
zmodule zimfw/completion | ||
zmodule Aloxaf/fzf-tab | ||
zmodule zimfw/environment | ||
zmodule zimfw/git-info | ||
zmodule zimfw/input | ||
zmodule zimfw/completion | ||
zmodule zsh-users/zsh-syntax-highlighting | ||
zmodule zsh-users/zsh-autosuggestions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters