refactor: Normalize shebang of scripts to source

This commit is contained in:
Koichi Murase 2022-01-15 19:00:35 +09:00
parent 088eee2abd
commit c3bcc5c6d2
159 changed files with 159 additions and 159 deletions

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
alias perm='stat --printf "%a %n \n "' # perm: Show permission of target in number alias perm='stat --printf "%a %n \n "' # perm: Show permission of target in number

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
# #
# Description: This file holds all general BASH aliases # Description: This file holds all general BASH aliases

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
# Directory Listing aliases # Directory Listing aliases

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
# #
# Description: This file holds many useful BASH aliases and save our lives! # Description: This file holds many useful BASH aliases and save our lives!

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# apm-bash-completion is written by Ugur Ozyilmazel # apm-bash-completion is written by Ugur Ozyilmazel
# repo: https://github.com/vigo/apm-bash-completion # repo: https://github.com/vigo/apm-bash-completion

View File

@ -1,2 +1,2 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
[[ -x "$(which aws_completer)" ]] &>/dev/null && complete -C "$(which aws_completer)" aws [[ -x "$(which aws_completer)" ]] &>/dev/null && complete -C "$(which aws_completer)" aws

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
if _omb_util_command_exists brew; then if _omb_util_command_exists brew; then
_omb_completion_brew_prefix=$(brew --prefix) _omb_completion_brew_prefix=$(brew --prefix)
if [[ $_omb_completion_brew_prefix ]]; then if [[ $_omb_completion_brew_prefix ]]; then

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# bash completion for the `bundle` command. # bash completion for the `bundle` command.
# #
# Copyright (c) 2011-2013 Daniel Luz <dev at mernen dot com>. # Copyright (c) 2011-2013 Daniel Luz <dev at mernen dot com>.

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# Bash completion support for Capistrano. # Bash completion support for Capistrano.
export COMP_WORDBREAKS=${COMP_WORDBREAKS/\:/} export COMP_WORDBREAKS=${COMP_WORDBREAKS/\:/}

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
_composer() _composer()
{ {

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
which register-python-argcomplete &> /dev/null \ which register-python-argcomplete &> /dev/null \
&& eval "$(register-python-argcomplete conda)" \ && eval "$(register-python-argcomplete conda)" \
|| echo "Please install argcomplete to use conda completion" > /dev/null || echo "Please install argcomplete to use conda completion" > /dev/null

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# defaults # defaults
# Bash command line completion for defaults # Bash command line completion for defaults
# #

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# Bash completion support for the 'dirs' plugin (commands G, R). # Bash completion support for the 'dirs' plugin (commands G, R).
_dirs-complete() { _dirs-complete() {

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# ######################################################################### # #########################################################################
# This bash script adds tab-completion feature to django-admin.py and # This bash script adds tab-completion feature to django-admin.py and
# manage.py. # manage.py.

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# #
# bash completion for docker-compose # bash completion for docker-compose
# #

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# #
# bash completion file for docker-machine commands # bash completion file for docker-machine commands
# #

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# #
# bash completion file for core docker commands # bash completion file for core docker commands
# #

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# #
# bash completion support for Drush: # bash completion support for Drush:
# https://github.com/drush-ops/drush # https://github.com/drush-ops/drush

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# #
# Bash completion support for Fabric (http://fabfile.org/) # Bash completion support for Fabric (http://fabfile.org/)
# #

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# Completion for gem # Completion for gem
_installcomp() { _installcomp() {

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# hub tab-completion script for bash. # hub tab-completion script for bash.
# This script complements the completion script that ships with git. # This script complements the completion script that ships with git.

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# bash/zsh completion support for core Git. # bash/zsh completion support for core Git.
# #
# Copyright (C) 2006,2007 Shawn O. Pearce <spearce@spearce.org> # Copyright (C) 2006,2007 Shawn O. Pearce <spearce@spearce.org>

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# #
# git-flow-completion # git-flow-completion
# =================== # ===================

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# #
# git-flow-completion # git-flow-completion
# =================== # ===================

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# bash completion for go tool # bash completion for go tool
# https://github.com/thomasf/go-bash-completion # https://github.com/thomasf/go-bash-completion

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
function __gradle { function __gradle {
local cur=${COMP_WORDS[COMP_CWORD]} local cur=${COMP_WORDS[COMP_CWORD]}
local tasks='' local tasks=''

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# grunt-cli # grunt-cli
# http://gruntjs.com/ # http://gruntjs.com/

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# Borrowed from grunt-cli # Borrowed from grunt-cli
# http://gruntjs.com/ # http://gruntjs.com/
# #

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# Bash completion script for homesick # Bash completion script for homesick
# #
# The homebrew bash completion script was used as inspiration. # The homebrew bash completion script was used as inspiration.

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# hub tab-completion script for bash. # hub tab-completion script for bash.
# This script complements the completion script that ships with git. # This script complements the completion script that ships with git.

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# Completions for JBoss Application Server 7 (EAP 6) # Completions for JBoss Application Server 7 (EAP 6)
# VERSION: 0.6 # VERSION: 0.6
# DATE: 2012-10-30 # DATE: 2012-10-30

View File

@ -1,2 +1,2 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
[[ -x "$(which jungle)" ]] &>/dev/null && eval "$(_JUNGLE_COMPLETE=source jungle)" [[ -x "$(which jungle)" ]] &>/dev/null && eval "$(_JUNGLE_COMPLETE=source jungle)"

View File

@ -1,2 +1,2 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
which kontena &> /dev/null && . "$( kontena whoami --bash-completion-path )" which kontena &> /dev/null && . "$( kontena whoami --bash-completion-path )"

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# kubectl (Kubernetes CLI) completion # kubectl (Kubernetes CLI) completion

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# Add completion for Makefile # Add completion for Makefile
# see http://stackoverflow.com/a/38415982/1472048 # see http://stackoverflow.com/a/38415982/1472048
complete -W "\$(shopt -u nullglob; shopt -s nocaseglob; command grep -oE '^[a-zA-Z0-9_-]+:([^=]|\$)' *makefile 2>/dev/null | command sed 's/[^a-zA-Z0-9_-]*\$//')" make complete -W "\$(shopt -u nullglob; shopt -s nocaseglob; command grep -oE '^[a-zA-Z0-9_-]+:([^=]|\$)' *makefile 2>/dev/null | command sed 's/[^a-zA-Z0-9_-]*\$//')" make

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# Bash completion support for maven # Bash completion support for maven
# inspired from : # inspired from :
# - https://github.com/juven/maven-bash-completion # - https://github.com/juven/maven-bash-completion

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# minikube (Kubernetes CLI) completion # minikube (Kubernetes CLI) completion

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# npm (Node Package Manager) completion # npm (Node Package Manager) completion
# https://docs.npmjs.com/cli/completion # https://docs.npmjs.com/cli/completion

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# nvm (Node Version Manager) completion # nvm (Node Version Manager) completion

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# Packer (http://www.packer.io) bash completion # Packer (http://www.packer.io) bash completion
# #

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# pip bash completion start # pip bash completion start
_pip_completion() _pip_completion()

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# pip bash completion start # pip bash completion start
_pip_completion() _pip_completion()

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
_pj() { _pj() {
[ -z "$PROJECT_PATHS" ] && return [ -z "$PROJECT_PATHS" ] && return
shift shift

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# Bash completion support for Rake, Ruby Make. # Bash completion support for Rake, Ruby Make.
export COMP_WORDBREAKS=${COMP_WORDBREAKS/\:/} export COMP_WORDBREAKS=${COMP_WORDBREAKS/\:/}

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# written by David Pravec # written by David Pravec
# - feel free to /msg alekibango on IRC if you want to talk about this file # - feel free to /msg alekibango on IRC if you want to talk about this file

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
_sdkman_complete() _sdkman_complete()
{ {
local CANDIDATES local CANDIDATES

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# Bash completion support for ssh. # Bash completion support for ssh.
export COMP_WORDBREAKS=${COMP_WORDBREAKS/\:/} export COMP_WORDBREAKS=${COMP_WORDBREAKS/\:/}

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# ------------------------------------------------------------ # ------------------------------------------------------------
# Licensed to the Apache Software Foundation (ASF) under one # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file # or more contributor license agreements. See the NOTICE file

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# Loads the system's Bash completion modules. # Loads the system's Bash completion modules.
# If Homebrew is installed (OS X), its Bash completion modules are loaded. # If Homebrew is installed (OS X), its Bash completion modules are loaded.

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# Bash Terraform completion # Bash Terraform completion
_terraform() _terraform()

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
__kitchen_instance_list () { __kitchen_instance_list () {
# cache to .kitchen.list.yml # cache to .kitchen.list.yml
if [[ .kitchen.yml -nt .kitchen.list.yml || .kitchen.local.yml -nt .kitchen.list.yml ]]; then if [[ .kitchen.yml -nt .kitchen.list.yml || .kitchen.local.yml -nt .kitchen.list.yml ]]; then

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# tmux completion # tmux completion
# See: http://www.debian-administration.org/articles/317 for how to write more. # See: http://www.debian-administration.org/articles/317 for how to write more.

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# link: https://github.com/ginatrapani/todo.txt-cli/blob/master/todo_completion # link: https://github.com/ginatrapani/todo.txt-cli/blob/master/todo_completion
_todo() _todo()

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# (The MIT License) # (The MIT License)
# #

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
# vault-bash-completion # vault-bash-completion
# #

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
_vboxmanage_realopts() { _vboxmanage_realopts() {
echo $(vboxmanage|grep -i vboxmanage|cut -d' ' -f2|grep '\['|tr -s '[\[\|\]\n' ' ') echo $(vboxmanage|grep -i vboxmanage|cut -d' ' -f2|grep '\['|tr -s '[\[\|\]\n' ' ')
echo " " echo " "

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash #! bash oh-my-bash.module
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
# #
# Description: This file holds all base BASH functions # Description: This file holds all base BASH functions

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash #! bash oh-my-bash.module
# ~/.bashrc: executed by bash(1) for non-login shells. # ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash #! bash oh-my-bash.module
# Common directories functions # Common directories functions
alias cd..='cd ../' # Go back 1 directory level (for fast typers) alias cd..='cd ../' # Go back 1 directory level (for fast typers)
alias ..='cd ../' # Go back 1 directory level alias ..='cd ../' # Go back 1 directory level

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash #! bash oh-my-bash.module
function bash_stats() { function bash_stats() {
fc -l 1 | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" | column -c3 -s " " -t | sort -nr | nl | head -n20 fc -l 1 | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" | column -c3 -s " " -t | sort -nr | nl | head -n20
} }

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash #! bash oh-my-bash.module
# Outputs current branch info in prompt format # Outputs current branch info in prompt format
function git_prompt_info() { function git_prompt_info() {
local ref local ref

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash #! bash oh-my-bash.module
# is x grep argument available? # is x grep argument available?
_omb_grep_flag_available() { _omb_grep_flag_available() {

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash #! bash oh-my-bash.module
shopt -s histappend # append to bash_history if Terminal.app quits shopt -s histappend # append to bash_history if Terminal.app quits
## Command history configuration ## Command history configuration

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash #! bash oh-my-bash.module
## jobs ## jobs
#setopt long_list_jobs #setopt long_list_jobs

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash #! bash oh-my-bash.module
# #
#/ Mo is a mustache template rendering software written in bash. It inserts #/ Mo is a mustache template rendering software written in bash. It inserts
#/ environment variables into templates. #/ environment variables into templates.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash #! bash oh-my-bash.module
# get the node.js version # get the node.js version
function nvm_prompt_info() { function nvm_prompt_info() {
[[ -f "$NVM_DIR/nvm.sh" ]] || return [[ -f "$NVM_DIR/nvm.sh" ]] || return

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash #! bash oh-my-bash.module
# deprecate functions # deprecate functions

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash #! bash oh-my-bash.module
# Various shell options collected in single file # Various shell options collected in single file
# taken from bash-sensible and other sources # taken from bash-sensible and other sources

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash #! bash oh-my-bash.module
# A script to make using 256 colors in bash less painful. # A script to make using 256 colors in bash less painful.
# P.C. Shyamshankar <sykora@lucentbeing.com> # P.C. Shyamshankar <sykora@lucentbeing.com>
# Copied from http://github.com/sykora/etc/blob/master/zsh/functions/spectrum/ # Copied from http://github.com/sykora/etc/blob/master/zsh/functions/spectrum/

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash #! bash oh-my-bash.module
# #
# Move a process to background and track its progress in a smoothier way. # Move a process to background and track its progress in a smoothier way.
# Could be use if $TERM not set. # Could be use if $TERM not set.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash #! bash oh-my-bash.module
# colored ls # colored ls
export LSCOLORS='Gxfxcxdxdxegedabagacad' export LSCOLORS='Gxfxcxdxdxegedabagacad'

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash #! bash oh-my-bash.module
############################---Description---################################### ############################---Description---###################################
# # # #
# Summary : A collection of handy utilities and functions for bash # # Summary : A collection of handy utilities and functions for bash #

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# Functions # Functions
function ansible-version(){ function ansible-version(){
ansible --version ansible --version

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# aws.plugin.sh # aws.plugin.sh
# Author: Michael Anckaert <michael.anckaert@sinax.be> # Author: Michael Anckaert <michael.anckaert@sinax.be>
# Based on oh-my-zsh AWS plugin # Based on oh-my-zsh AWS plugin

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# Copyright (c) 2015, Toan Nguyen - https://nntoan.github.io # Copyright (c) 2015, Toan Nguyen - https://nntoan.github.io
# All rights reserved. # All rights reserved.
# #

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# Bug: https://github.com/ohmybash/oh-my-bash/issues/68 # Bug: https://github.com/ohmybash/oh-my-bash/issues/68
if ! command -v "command_exists" >/dev/null; then command_exists() { command -v "$1" >/dev/null ; } fi if ! command -v "command_exists" >/dev/null; then command_exists() { command -v "$1" >/dev/null ; } fi

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
alias brewp='brew pin' alias brewp='brew pin'
alias brews='brew list -1' alias brews='brew list -1'

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# bu.plugin.sh # bu.plugin.sh
# Author: Taleeb Midi <taleebmidi@gmail.com> # Author: Taleeb Midi <taleebmidi@gmail.com>
# Based on oh-my-zsh AWS plugin # Based on oh-my-zsh AWS plugin

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# Initialize fasd, without setting up the prompt hook, which # Initialize fasd, without setting up the prompt hook, which
# we want to be handled by oh-my-bash. # we want to be handled by oh-my-bash.

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# #
# Functions # Functions
# #

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# @chopnico 2021 # @chopnico 2021
if [ -d ~/.goenv ]; then if [ -d ~/.goenv ]; then

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
alias gob='go build' alias gob='go build'
alias goc='go clean' alias goc='go clean'

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# This command is used a LOT both below and in daily life # This command is used a LOT both below and in daily life
alias k=kubectl alias k=kubectl

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# Install dependencies globally # Install dependencies globally
alias npmg="npm i -g " alias npmg="npm i -g "

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# Set NVM_DIR if it isn't already defined # Set NVM_DIR if it isn't already defined
[[ -z "$NVM_DIR" ]] && export NVM_DIR="$HOME/.nvm" [[ -z "$NVM_DIR" ]] && export NVM_DIR="$HOME/.nvm"

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
############################---Description---################################### ############################---Description---###################################
# # # #
# Summary : Show a progress bar GUI on terminal platform # # Summary : Show a progress bar GUI on terminal platform #

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# @chopnico 2021 # @chopnico 2021
if [ -d ~/.pyenv ]; then if [ -d ~/.pyenv ]; then

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# Set SDKMAN_DIR if it isn't already defined # Set SDKMAN_DIR if it isn't already defined
[[ ${SDKMAN_DIR-} ]] || export SDKMAN_DIR=~/.sdkman [[ ${SDKMAN_DIR-} ]] || export SDKMAN_DIR=~/.sdkman

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# @chopnico 2021 # @chopnico 2021
# #
# tmux-autoattach.plugin.sh # tmux-autoattach.plugin.sh

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# Check if zoxide is installed # Check if zoxide is installed
if _omb_util_command_exists zoxide; then if _omb_util_command_exists zoxide; then

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
SCM_THEME_PROMPT_DIRTY=" ${red}" SCM_THEME_PROMPT_DIRTY=" ${red}"
SCM_THEME_PROMPT_CLEAN=" ${bold_green}" SCM_THEME_PROMPT_CLEAN=" ${bold_green}"
SCM_THEME_PROMPT_PREFIX=" |" SCM_THEME_PROMPT_PREFIX=" |"

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# vim: ft=bash ts=2 sw=2 sts=2 # vim: ft=bash ts=2 sw=2 sts=2
# #
# agnoster's Theme - https://gist.github.com/3712874 # agnoster's Theme - https://gist.github.com/3712874

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# Axin Bash Prompt, inspired by theme "Sexy" and "Bobby" # Axin Bash Prompt, inspired by theme "Sexy" and "Bobby"
# thanks to them # thanks to them

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
SCM_THEME_PROMPT_DIRTY=" ${red}" SCM_THEME_PROMPT_DIRTY=" ${red}"
SCM_THEME_PROMPT_CLEAN=" ${bold_green}" SCM_THEME_PROMPT_CLEAN=" ${bold_green}"
SCM_THEME_PROMPT_PREFIX=" |" SCM_THEME_PROMPT_PREFIX=" |"

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash #! bash oh-my-bash.module
CLOCK_CHAR_THEME_PROMPT_PREFIX='' CLOCK_CHAR_THEME_PROMPT_PREFIX=''
CLOCK_CHAR_THEME_PROMPT_SUFFIX='' CLOCK_CHAR_THEME_PROMPT_SUFFIX=''

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# Set term to 256color mode, if 256color is not supported, colors won't work properly # Set term to 256color mode, if 256color is not supported, colors won't work properly
if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
SCM_THEME_PROMPT_DIRTY=" ${red}" SCM_THEME_PROMPT_DIRTY=" ${red}"
SCM_THEME_PROMPT_CLEAN=" ${bold_green}" SCM_THEME_PROMPT_CLEAN=" ${bold_green}"
SCM_THEME_PROMPT_PREFIX=" |" SCM_THEME_PROMPT_PREFIX=" |"

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
SCM_THEME_PROMPT_DIRTY=" ${red}" SCM_THEME_PROMPT_DIRTY=" ${red}"
SCM_THEME_PROMPT_CLEAN=" ${bold_green}" SCM_THEME_PROMPT_CLEAN=" ${bold_green}"

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
# Brainy Bash Prompt for Bash-it # Brainy Bash Prompt for Bash-it
# by MunifTanjim # by MunifTanjim

View File

@ -1,4 +1,4 @@
# -*- mode: bash -*- #! bash oh-my-bash.module
SCM_THEME_PROMPT_PREFIX="" SCM_THEME_PROMPT_PREFIX=""
SCM_THEME_PROMPT_SUFFIX="" SCM_THEME_PROMPT_SUFFIX=""

Some files were not shown because too many files have changed in this diff Show More