mirror of
https://github.com/nikdoof/dotfiles.git
synced 2026-01-31 11:28:14 +00:00
Compare commits
4 Commits
8c013bb66c
...
a57503f372
| Author | SHA1 | Date | |
|---|---|---|---|
|
a57503f372
|
|||
|
c88d401471
|
|||
|
a4d55ff664
|
|||
|
53be68450e
|
15
README.md
15
README.md
@@ -1,11 +1,20 @@
|
|||||||
## Dotfiles
|
# .dotfiles
|
||||||
|
|
||||||
A collection of dotfiles used by [nikdoof](https://github.com/nikdoof)
|
A collection of dotfiles used by [nikdoof](https://github.com/nikdoof)
|
||||||
|
|
||||||
## Linux / macOS
|
## Used Tools
|
||||||
|
* [Aerospace](https://nikitabobko.github.io/AeroSpace/guide)
|
||||||
|
* [Jankyborders](https://github.com/FelixKratz/JankyBorders)
|
||||||
|
* [Ghostty](https://ghostty.org)
|
||||||
|
* [Starship](https://starship.rs)
|
||||||
|
* [Zed](https://zed.dev)
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
### Linux / macOS
|
||||||
|
|
||||||
Installation is handled by `stowage`. 'Github' SSH key from private dotfiles required to run successfully.
|
Installation is handled by `stowage`. 'Github' SSH key from private dotfiles required to run successfully.
|
||||||
|
|
||||||
```
|
```shell-session
|
||||||
curl https://raw.githubusercontent.com/nikdoof/dotfiles/main/bootstrap.sh | bash
|
curl https://raw.githubusercontent.com/nikdoof/dotfiles/main/bootstrap.sh | bash
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
# shellcheck shell=bash
|
||||||
# History
|
# History
|
||||||
mkdir -p "${XDG_STATE_HOME}"/bash
|
mkdir -p "${XDG_STATE_HOME}"/bash
|
||||||
export HISTFILE="${XDG_STATE_HOME}"/bash/history
|
export HISTFILE="${XDG_STATE_HOME}"/bash/history
|
||||||
|
|||||||
@@ -1,2 +1,3 @@
|
|||||||
|
# shellcheck shell=bash
|
||||||
# SSH completion based on ssh config
|
# SSH completion based on ssh config
|
||||||
[ -e "$HOME/.ssh/config" ] && complete -o "default" -o "nospace" -W "$(grep "^Host" ~/.ssh/config* | grep -v "[?*]" | cut -d " " -f2- | tr ' ' '\n')" scp sftp ssh
|
[ -e "$HOME/.ssh/config" ] && complete -o "default" -o "nospace" -W "$(grep "^Host" ~/.ssh/config* | grep -v "[?*]" | cut -d " " -f2- | tr ' ' '\n')" scp sftp ssh
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
# shellcheck shell=bash
|
||||||
# Override application locations to fix XDG
|
# Override application locations to fix XDG
|
||||||
export ANSIBLE_HOME="$XDG_DATA_HOME"/ansible
|
export ANSIBLE_HOME="$XDG_DATA_HOME"/ansible
|
||||||
export LESSHISTFILE="$XDG_STATE_HOME"/less/history
|
export LESSHISTFILE="$XDG_STATE_HOME"/less/history
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
|
# AWS functions
|
||||||
|
|
||||||
# Get the list of AWS profiles
|
# Get the list of AWS profiles
|
||||||
function awsprofiles() {
|
function awsprofiles() {
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
|
# shellcheck shell=bash
|
||||||
# Go stuff
|
# Go stuff
|
||||||
|
|
||||||
export GOPATH=$XDG_DATA_HOME/go/
|
export GOPATH=$XDG_DATA_HOME/go/
|
||||||
export PATH=${GOPATH}bin:$PATH
|
export PATH=${GOPATH}bin:$PATH
|
||||||
if [ -z ${GOROOT+x} ] && [ -d /usr/local/go ]; then
|
if [ -z ${GOROOT+x} ] && [ -d /usr/local/go ]; then
|
||||||
|
|||||||
@@ -1,2 +1,4 @@
|
|||||||
|
# shellcheck shell=bash
|
||||||
# Python stuff
|
# Python stuff
|
||||||
|
|
||||||
export POETRY_VIRTUALENVS_IN_PROJECT=true
|
export POETRY_VIRTUALENVS_IN_PROJECT=true
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
|
# shellcheck shell=bash
|
||||||
# Rust stuff
|
# Rust stuff
|
||||||
|
|
||||||
if [ -f $HOME/.cargo/env ]; then
|
if [ -f $HOME/.cargo/env ]; then
|
||||||
source $HOME/.cargo/env
|
source $HOME/.cargo/env
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -22,8 +22,6 @@ $aws\
|
|||||||
[](bg:nord4 fg:nord7)\
|
[](bg:nord4 fg:nord7)\
|
||||||
$cmd_duration\
|
$cmd_duration\
|
||||||
[](fg:#d9dee9)\
|
[](fg:#d9dee9)\
|
||||||
$time\
|
|
||||||
[](fg:nord0)\
|
|
||||||
$line_break\
|
$line_break\
|
||||||
$character
|
$character
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -148,7 +148,7 @@
|
|||||||
|
|
||||||
"project_panel": {
|
"project_panel": {
|
||||||
"entry_spacing": "standard",
|
"entry_spacing": "standard",
|
||||||
"hide_root": true,
|
"hide_root": false,
|
||||||
"default_width": 400,
|
"default_width": 400,
|
||||||
},
|
},
|
||||||
"toolbar": {
|
"toolbar": {
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
# shellcheck shell=zsh
|
||||||
# History
|
# History
|
||||||
mkdir -p "${XDG_STATE_HOME}/zsh"
|
mkdir -p "${XDG_STATE_HOME}/zsh"
|
||||||
HISTFILE="${XDG_STATE_HOME}/zsh/history"
|
HISTFILE="${XDG_STATE_HOME}/zsh/history"
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
# shellcheck shell=zsh
|
||||||
# Zsh specific aliases
|
# Zsh specific aliases
|
||||||
# Mostly suffix and global aliases
|
# Mostly suffix and global aliases
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
# shellcheck shell=zsh
|
||||||
fpath+=($XDG_CONFIG_HOME/zsh/completions)
|
fpath+=($XDG_CONFIG_HOME/zsh/completions)
|
||||||
|
|
||||||
autoload -Uz compinit
|
autoload -Uz compinit
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
# shellcheck shell=zsh
|
||||||
# Source shell common
|
# Source shell common
|
||||||
for f in ~/.config/shell-common/*.sh; do
|
for f in ~/.config/shell-common/*.sh; do
|
||||||
source $f
|
source $f
|
||||||
|
|||||||
Reference in New Issue
Block a user