Skip to content

Commit

Permalink
backuping /home/t4inha/.moshell.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
andersonbosa committed Nov 14, 2023
1 parent 1236fc9 commit d60d5a4
Show file tree
Hide file tree
Showing 43 changed files with 16 additions and 7 deletions.
Empty file modified .editorconfig
100644 → 100755
Empty file.
Empty file modified .github/workflows/.keep
100644 → 100755
Empty file.
Empty file modified .github/workflows/ci.yml
100644 → 100755
Empty file.
Empty file modified .github/workflows/gh-pages.yml
100644 → 100755
Empty file.
Empty file modified .gitignore
100644 → 100755
Empty file.
Empty file modified LICENSE.md
100644 → 100755
Empty file.
Empty file modified README.md
100644 → 100755
Empty file.
Empty file modified _config.yml
100644 → 100755
Empty file.
Empty file modified docs/.keep
100644 → 100755
Empty file.
Empty file modified docs/CHANGELOG.md
100644 → 100755
Empty file.
Empty file modified docs/CONTRIBUTING.md
100644 → 100755
Empty file.
Empty file modified docs/USAGE_TRACKING_POLICY.md
100644 → 100755
Empty file.
Empty file modified docs/assets/banner.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/index.md
100644 → 100755
Empty file.
Empty file modified moshell.sh/.github/CONTRIBUTING.md
100644 → 100755
Empty file.
Empty file modified moshell.sh/Dockerfile
100644 → 100755
Empty file.
Empty file modified moshell.sh/cache/.keep
100644 → 100755
Empty file.
Empty file modified moshell.sh/core/.keep
100644 → 100755
Empty file.
Empty file modified moshell.sh/core/banner.sh
100644 → 100755
Empty file.
Empty file modified moshell.sh/core/cli.sh
100644 → 100755
Empty file.
Empty file modified moshell.sh/core/flags.sh
100644 → 100755
Empty file.
Empty file modified moshell.sh/core/index.sh
100644 → 100755
Empty file.
Empty file modified moshell.sh/core/logger.sh
100644 → 100755
Empty file.
Empty file modified moshell.sh/core/tracking.sh
100644 → 100755
Empty file.
Empty file modified moshell.sh/custom/andersonbosa/ai_prompts.sh
100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions moshell.sh/custom/andersonbosa/aliases.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
alias copy="clipcopy"
alias k=kubectl

function pince() {
local pince_dir_path="$HOME/tools/PINCE/"
Expand Down
8 changes: 8 additions & 0 deletions moshell.sh/custom/andersonbosa/docker.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,12 @@ function docker_prune_none() {
for IMG in $(docker images | grep none | awk '{print $3}'); do
docker image remove -f $IMG
done
}



function docker_get_ip() {
local CONTAINER_ID="$1"

docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $CONTAINER_ID
}
Empty file modified moshell.sh/custom/andersonbosa/generators.sh
100644 → 100755
Empty file.
Empty file modified moshell.sh/custom/andersonbosa/index.sh
100644 → 100755
Empty file.
6 changes: 3 additions & 3 deletions moshell.sh/custom/andersonbosa/randoms.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function tmux-save-pane() {
function git-checkpoint() {
# add all to git and commit
git add --all
git commit -m "Checkpoint"
git commit -m "checkpoint: $@"
git push
}

Expand Down Expand Up @@ -266,6 +266,6 @@ function dvim() {
}

function git_init_work() {
git commit --allow-empty -m "$(current_branch)"
git push -u origin $(current_branch)
git commit --allow-empty -m "$(git_current_branch)"
git push -u origin $(git_current_branch)
}
Empty file modified moshell.sh/custom/andersonbosa/termbin.sh
100644 → 100755
Empty file.
Empty file modified moshell.sh/custom/andersonbosa/workrounds.sh
100644 → 100755
Empty file.
Empty file modified moshell.sh/custom/index.sh
100644 → 100755
Empty file.
Empty file modified moshell.sh/logs/.keep
100644 → 100755
Empty file.
Empty file modified moshell.sh/plugins/.keep
100644 → 100755
Empty file.
Empty file modified moshell.sh/plugins/howtos/_index.sh
100644 → 100755
Empty file.
Empty file modified moshell.sh/plugins/howtos/all.sh
100644 → 100755
Empty file.
Empty file modified moshell.sh/plugins/index.sh
100644 → 100755
Empty file.
Empty file modified moshell.sh/plugins/secrets/.env.sh.example
100644 → 100755
Empty file.
Empty file modified moshell.sh/plugins/secrets/README.md
100644 → 100755
Empty file.
8 changes: 4 additions & 4 deletions moshell.sh/plugins/secrets/index.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ ABSOLUTE_PATH_TO_THIS_FILE="${BASH_SOURCE:-$0}"
ABSOLUTE_DIR_PATH_TO_THIS_FILE=$(dirname $ABSOLUTE_PATH_TO_THIS_FILE)

if [ ! -f "$ABSOLUTE_DIR_PATH_TO_THIS_FILE/.env.sh" ]; then
_moshell:print error "Environment file '.env.sh' is missing at $ABSOLUTE_DIR_PATH_TO_THIS_FILE"
exit
_moshell::print error "Environment file '.env.sh' is missing at $ABSOLUTE_DIR_PATH_TO_THIS_FILE"
exit 0
fi

# Load secrets enviroment variables
source "$ABSOLUTE_DIR_PATH_TO_THIS_FILE/.env.sh"

# Setup your repository to download your secrets
GIT_OWNER=$_SECRETS_MOSHELL_PLUGIN_GIT_OWNER
GIT_REPO=$_SECRETS_MOSHELL_PLUGIN_GIT_REPO
GIT_OWNER=$_MOSHELL_PLUGIN_GIT_OWNER
GIT_REPO=$_MOSHELL_PLUGIN_GIT_REPO

# Constants
GIT_REPO_REFERENCE="$GIT_OWNER/$GIT_REPO"
Expand Down
Empty file modified moshell.sh/tools/.keep
100644 → 100755
Empty file.
Empty file modified moshell.sh/version
100644 → 100755
Empty file.

0 comments on commit d60d5a4

Please sign in to comment.