{"id":14069437,"url":"https://github.com/majk1/shellrc","last_synced_at":"2025-07-30T05:32:13.666Z","repository":{"id":97129767,"uuid":"106516740","full_name":"majk1/shellrc","owner":"majk1","description":"Script collection and custom prompt for various shells and architectures","archived":false,"fork":false,"pushed_at":"2024-08-02T20:21:46.000Z","size":214,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-04T10:39:45.903Z","etag":null,"topics":["bash","bash-script","bashrc","cli","intellij-idea","java","java-tools","linux","macos","screenrc","shell","shell-script","shell-scripts","shellscript","utilities","utility","vimrc","zsh","zshrc"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/majk1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-11T06:54:27.000Z","updated_at":"2024-08-02T20:21:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"766a8b64-34e2-4363-83ef-f0b1aaa42f62","html_url":"https://github.com/majk1/shellrc","commit_stats":null,"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"purl":"pkg:github/majk1/shellrc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/majk1%2Fshellrc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/majk1%2Fshellrc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/majk1%2Fshellrc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/majk1%2Fshellrc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/majk1","download_url":"https://codeload.github.com/majk1/shellrc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/majk1%2Fshellrc/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267815187,"owners_count":24148356,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","bash-script","bashrc","cli","intellij-idea","java","java-tools","linux","macos","screenrc","shell","shell-script","shell-scripts","shellscript","utilities","utility","vimrc","zsh","zshrc"],"created_at":"2024-08-13T07:06:57.190Z","updated_at":"2025-07-30T05:32:13.275Z","avatar_url":"https://github.com/majk1.png","language":"Shell","readme":"# Shell script collection\n\nUseful scripts for unix like systems mostly for developers\n\n## Usage\n\n### Install script\n\nwith wget:\n\n```shell\nwget -q -O- \"https://majk1.github.io/shellrc/installer.sh\" | bash -s -- -u\n```\n\nwith curl:\n\n```shell\ncurl -L -s -o- \"https://majk1.github.io/shellrc/installer.sh\" | bash -s -- -u\n```\n\nfor silent install use -su parameter instad of -u\n\n### Upgrade / reinstall\n\njust type:\n\n```shell\nupdate-shellrc\n```\n\n### List latest version\n\nwith wget:\n\n```shell\nwget -q -O- \"https://majk1.github.io/shellrc/installer.sh\" | bash -s -- -a\n```\n\nwith curl:\n\n```shell\ncurl -L -s -o- \"https://majk1.github.io/shellrc/installer.sh\" | bash -s -- -a\n```\n\n### Using git repo\n\n#### clone repository\n\n```shell\ngit clone https://github.com/majk1/shellrc.git\n```\n\n#### source shellrc.sh  \n\n```shell\nsource ~/scripts/shellrc.sh\n```\n\n## Changelog\n\n- **1.7.27**  \n  FZF ALT_C and COMPLETION_TRIGGER has been added  \n  zsh added `complete aliases`  \n  `ffmpeg-to-stereo`: improved\n  imporved `.vimrc` and added `config.nvim` into `rc` files (link this directory to `~/.config/nvim`)\n\n- **1.7.26**  \n  python3 version for `urlencode`, `urldecode`, `millis` and `nanos`  \n  `ffmpeg-to-stereo`: added metadata support and additional parameters  \n  java: Added version 16 and 18, changed default to version 17  \n  darwin: Added `psgrep`, and initial version of `reminders`  \n\n- **1.7.25**  \n  Added macos battery logger script  \n  Added macos `free` command replacement (memory status)  \n  Added homebrew specific bash completion  \n  Added more JDK pattern to find appropriate version\n  Added auto-clone for `z`  \n  Added Viscosity VPN control command line functions  \n  Removed directory restriction for jdk path to enable the use of symlinks  \n  zsh source order fix and other completion fixes  \n\n- **1.7.24**  \n  added `uibuilder` function to generate [UIBuilder](https://uibuilder.devbench.io) project  \n  ffmpeg utils stereo downmix fix  \n  added `mkvMergeSub` `--no-conv` parameter to skip subtitle UTF-8 conversion  \n  removed jdk 10 and 12 alias, added jdk 17  \n\n- **1.7.23**  \n  fixed `installer.sh`  \n  added lastX aliases  \n\n- **1.7.22**  \n  added GraalVM 21  \n  added zsh command line syntax highlighting\n\n- **1.7.21**  \n  added fzf loading and default env variables\n  \n- **1.7.20**  \n  fixed `mvn` code completion indirect variable expansion shell incompatibility (bash supported `${!var}` has been replaced to use eval instead of zsh supported `${(P)var}`)  \n  added `mvn` javadoc and source skip completion\n\n- **1.7.19**  \n  zsh bindkey for *bash style* backward kill word for `ctrl+e`  \n  zsh added `-u` to compinit to ignore insecure directories (SHOULD BE FIXED INSTEAD)  \n  added `airport` alias for macos  \n  `brew` completion cache is disabled for other shell than bash  \n  `pip` completion fix\n\n- **1.7.18**  \n  fix for java8 selection alias (graalvm was selected if it was present, instead of openjdk)  \n  history size has been set to unlimited for all shells  \n  bash-completion for `mvn` fix to be able to use in zsh as well  \n\n- **1.7.17**  \n  brew completion fix\n\n- **1.7.16**  \n  added `ij-config-hide-py-scientific-toolwindow` function to hide py scientific toolwindow  \n  added `brew` bash completion cache (this makes the first command completion a lot faster)  \n  added `to-monospace` command, which is a script that creates a monospaced RTF version of the input parameter  \n  added GraalVM support (*alias and home*)  \n  added `java_list` alias to list currently installed JVMs  \n\n- **1.7.15**  \n  added `git-merge-master` function which will fetch with `-p` and run `git merge origin/master`  \n  added `--no-sub` option to the `ffmpeg-to-stereo`  \n  added `adoptopenjdk` support to the java version switcher  \n\n- **1.7.14**  \n  added `mvn` bash completion  \n  added `ffmpeg-utils` bash completion (`ffmpeg-info` `ffmpeg-to-stereo` `mkvMergeSub`)  \n  `to-stereo` renamed to `ffmpeg-utils` and added `ffmpeg-info` function  \n  added bash completion source directory `usr/local/etc/bash_completion`  \n  commented out default `MAVEN_OPTS`, use project specific `.mvn/jvm.config` and `.mvn/maven.config` instead  \n\n- **1.7.13**  \n  `dupli.py` shebang python version fix (python3)  \n  `installer.sh` bugfix #8  \n  `rc/inputrc` now includes key binding to support alt+left/right in IntelliJ IDEA on mac os  \n\n- **1.7.12**  \n  bugfix #8 - cannot update bug - version number \u003e 9  \n  added default env for `docker-env`  and `--clear` attribute to remove env vars  \n\n- **1.7.11**  \n  added java (jdk) 11 support  \n  renamed `mvn_gen_pom` to `mvn-gen-pom`   \n\n- **1.7.10**  \n  fixed `currency-exchange` source URL changed to HTTPS only  \n  added `ffmpeg-to-stereo` function to generate dolby stereo video files from 5.1 or 7.1 channel,\n  producing higher volume during speak and lower volume during action and music  \n  added `mvn_gen_pom` function to generate maven pom.xml template\n\n- **1.7.9**  \n  added `dupli.py` as alias for `dupli` (script to find and list duplicate files)  \n  added `to_stereo.sh` alternative ffmpeg parameteres (*still in comment, not a real util*)  \n  added *backward-kill-word* as **ctrl+e**  \n\n- **1.7.8**  \n  fixed java_home for 9 and 10, default java is now java 10  \n\n- **1.7.7**  \n  alias `toUTF8` has been removed  \n  added `git-pull` function in git.sh  \n  function `wildfly-pid` has been optimized (implementation with awk)  \n  added `format-number` command to format numbers to humand readable form (and added into `currency-exchange`)  \n  added `netinfo` (*macos only*) command to query system network interface informations  \n  added `unicode` command to (*download the list and*) search for unicode symbol by keywords given as argumemts:  \n  ^- example: `unicode black circle`  \n  command `mvn-search version` now supports combined parameter by version request and\n  for also for flags, like: `mvn-search -1 v org.projectlombok:lombok` or `mvn-search -n1 s lombok`  \n\n- **1.7.6**  \n  added `mvn-search` util script  \n  renamed mvnCleaner to mvn-cleaner  \n\n- **1.7.5**  \n  added `dus` function into core.sh (sorted du: *du -sh \"$@\" | sort -h*)  \n  added `hr` function into core.sh (prints a horizontal separator line)  \n  added `currency-exchange` util script  \n\n- **1.7.4**  \n  added `pip` command bash completion  \n  added and linked ipv6-utils.sh with functions: `ipv6_mac_to_ipv6` and `ipv6_ipv6_to_mac`  \n  added `set-session-title` and `unset-session-titel` functions to set/unset `SESSION_TITLE` env var - prefix for terminal title  \n  added `docker-storage-usage` function for mac os docker replaces `docker-qcow2-usage`  \n  added `docker-stats` function which runs `docker stats` with formatting where container name is also included  \n  added `run-in` function in core, usage: `run-in [-v] \u003cdirectory\u003e \u003call other arguments are the command to run with arguments\u003e`  \n\n- **1.7.3**  \n  `gifenc` and `to-stereo.sh` drafts  \n  `netsh interface portproxy` alias `netsh-portproxy` on cygwin  \n  `shellrc.sh` - force en_US.UTF-8 - LANG and LC_ALL env vars  \n\n  - **core**:  \n    `create-openssl-key-and-cert` function added to core.sh (run without params for usage)  \n    `create-openssl-dh` function added to core.sh (run without params for usage)  \n\n  - **darwin**:  \n    `dns-flush-cache` function added to flush dns cache  \n    `appBundleId` function has been renamed to `app-bundle-id`  \n\n  - **docker**:  \n    `docker-registry-mark-for-delete` function added  \n\n- **1.7.2**  \n  commented out the line to source .profile in shellrc, causing an infinite loop\n\n- **1.7.1**  \n  `wildfly-pid` fixed + also prints standalone  \n  `grephash` and `grephashempty` alias fix  \n  custom bash-completion removed in cygwin  \n  added `millis`() function to get current time in milliseconds  \n  added `nanos`() function to get current time in nanoseconds  \n  added `backup`() function to create a backup of a file in format: {original_file_name.original_file_ext.bck-YYYYMMDDHHmmss}  \n\n- **1.7**  \n  `wildfly-pid` \"ps a\" replaced to \"ps ax\"  \n  added conditional `colorcat` alias (if source-highlight command present)  \n  `jcmd` bash completion added  \n  added bashcompinit to zsh  \n\n- **1.6.3**  \n  `idea` command removed (can be created in IntelliJIDEA *menu -\u003e Tools -\u003e Create Command-line Launcher*)  \n  `wildfly-pid` function added to *java.sh*  \n\n- **1.6.2**  \n  mvnCleaner - count + fixes\n\n- **1.6.1**  \n  Added mvnCleaner\n\n- **1.6**  \n  Moved to github  \n\n- **1.5.1**  \n  Added oneliner `-1` argument for `jmeminfo`\n\n- **1.5**  \n  Added `jmeminfo` utility script to get the jvm memory usage\n\n- **1.4**  \n  Added `imgcat` and `imgls` utility script for **iTerm2**  \n  Added `jvisualvm-jboss` function to easy start **jvisualvm** with the right classpath and module path for **jboss/wildfly**  \n  `df` alias fixed for **apfs** (macOS)  \n\n- **1.3**  \n  Java 9 support PATH support\n  Java 8 installer renamed to install-oracle-jdk-8.sh\n  MaxPermSize removed from the jdk installer, added MaxMetaspaceSize  \n  toUTF8 alias added (iconv iso8859-2 to utf-8)\n","funding_links":[],"categories":["Shell"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmajk1%2Fshellrc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmajk1%2Fshellrc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmajk1%2Fshellrc/lists"}