Merge branch 'master' of github.com:Lissy93/dotfiles

This commit is contained in:
Alicia Sykes 2023-08-08 09:18:39 +01:00
commit 243d0f8286
7 changed files with 35 additions and 24 deletions

16
.github/workflows/mirror.yml vendored Normal file
View File

@ -0,0 +1,16 @@
# Pushes the contents of the repo to the Codeberg mirror
name: 🪞 Mirror to Codeberg
on:
workflow_dispatch:
schedule:
- cron: '0 2 * * 0' # At 02:00 on Sunday
jobs:
codeberg:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with: { fetch-depth: 0 }
- uses: pixta-dev/repository-mirroring-action@v1
with:
target_repo_url: git@codeberg.org:alicia/dotfiles.git
ssh_private_key: ${{ secrets.CODEBERG_SSH }}

View File

View File

@ -39,5 +39,6 @@ export ZLIB="${ZDOTDIR}/lib"
# Encodings, languges and misc settings # Encodings, languges and misc settings
export LANG='en_GB.UTF-8'; export LANG='en_GB.UTF-8';
export LC_ALL='en_GB';
export PYTHONIOENCODING='UTF-8'; export PYTHONIOENCODING='UTF-8';
export LC_ALL='C';

View File

@ -17,28 +17,6 @@ utils_dir="${XDG_CONFIG_HOME}/utils"
# If not running interactively, don't do anything # If not running interactively, don't do anything
[[ $- != *i* ]] && return [[ $- != *i* ]] && return
# MacOS-specific services
if [ "$(uname -s)" = "Darwin" ]; then
# Add Brew to path, if it's installed
if [[ -d /opt/homebrew/bin ]]; then
export PATH=/opt/homebrew/bin:$PATH
fi
# If using iTerm, import the shell integration if availible
if [[ -f "${XDG_CONFIG_HOME}/zsh/.iterm2_shell_integration.zsh" ]]; then
source "${XDG_CONFIG_HOME}/zsh/.iterm2_shell_integration.zsh"
fi
# Append the Android SDK locations to path
if [[ -d "${HOME}/Library/Android/" ]]; then
export PATH="${HOME}/Library/Android/sdk/emulator:${PATH}"
export ANDROID_HOME="${HOME}/Library/Android/sdk"
export ANDROID_SDK_ROOT="${HOME}/Library/Android/sdk"
export ANDROID_AVD_HOME="${ANDROID_SDK_ROOT}/tools/emulator"
export NODE_BINARY="/usr/local/bin/node"
fi
fi
# Source all ZSH config files (if present) # Source all ZSH config files (if present)
if [[ -d $zsh_dir ]]; then if [[ -d $zsh_dir ]]; then
# Import alias files # Import alias files
@ -101,6 +79,16 @@ if [ "$(uname -s)" = "Darwin" ]; then
fi fi
fi fi
# If using Tilix, import the shell integration if availible
if [ $TILIX_ID ] || [ $VTE_VERSION ] && [[ -f "/etc/profile.d/vte.sh" ]]; then
source /etc/profile.d/vte.sh
fi
# Append Cargo to path, if it's installed
if [[ -d "$HOME/.cargo/bin" ]]; then
export PATH="$HOME/.cargo/bin:$PATH"
fi
# Add Zoxide (for cd, quick jump) to shell # Add Zoxide (for cd, quick jump) to shell
if hash zoxide 2> /dev/null; then if hash zoxide 2> /dev/null; then
eval "$(zoxide init zsh)" eval "$(zoxide init zsh)"

View File

@ -1,6 +1,5 @@
Lissy93/Dotfiles - Scripts for Package Installs 📥 Lissy93/Dotfiles - Scripts for Package Installs 📥
------------------------------------------------- -------------------------------------------------
Each of these scripts is used to automate the installation and updates of packages, across various OSs Each of these scripts is used to automate the installation and updates of packages, across various OSs
Specific usage instructions can be found in a comment, at the top of each file - read before running Specific usage instructions can be found in a comment, at the top of each file - read before running
Files can either be run directly, or can be invoked (based on system type) when you run install.sh Files can either be run directly, or can be invoked (based on system type) when you run install.sh

7
scripts/installs/arch-pacman.sh Normal file → Executable file
View File

@ -48,6 +48,13 @@ pacman_apps=(
'xsel' # Copy paste access to the X clipboard 'xsel' # Copy paste access to the X clipboard
'zoxide' # Auto-learning navigation (better cd) 'zoxide' # Auto-learning navigation (better cd)
# Development, languages, interpriters, compilers, etc
'go' # Go Lang
'rustup' # Crab Language
'python-pip' # Snake Language
'nodejs'
'npm'
# Security Utilities # Security Utilities
'clamav' # Open source virus scanning suite 'clamav' # Open source virus scanning suite
'cryptsetup' # Reading / writing encrypted volumes 'cryptsetup' # Reading / writing encrypted volumes