All Projects → ithinkihaveacat → dotfiles

ithinkihaveacat / dotfiles

Licence: Apache-2.0 license
Shell-related config files and scripts

Programming Languages

shell
77523 projects
applescript
352 projects
Dockerfile
14818 projects
perl
6916 projects
CSS
56736 projects
coffeescript
4710 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to dotfiles

goto
A fish shell utility to quickly navigate to aliased directories supporting tab-completion
Stars: ✭ 17 (-60.47%)
Mutual labels:  fish
fish-symnav
Symbolic link navigation for Fish shell
Stars: ✭ 11 (-74.42%)
Mutual labels:  fish
fishline
A powerline prompt framework for the fish-shell built in fish-shell.
Stars: ✭ 66 (+53.49%)
Mutual labels:  fish
agnoster
Agnoster for Fish 🐠
Stars: ✭ 42 (-2.33%)
Mutual labels:  fish
fish-poetry
🐟🐍 a fish plugin that automatically activates the poetry subshell
Stars: ✭ 25 (-41.86%)
Mutual labels:  fish
FAIRY
Fast and scalable search of whole-slide images via self-supervised deep learning - Nature Biomedical Engineering
Stars: ✭ 43 (+0%)
Mutual labels:  fish
Blackeye-for-Windows
This is a Phishing tool. Phishing is a type of hacking also called credential harvesting. It creates fake websites for victims to login which saves their login info which includes IP, User-Agent, Username and Password to a file in the computer running Blackeye. This tool has been there for Linux and even Android via Termux. I converted it to Win…
Stars: ✭ 38 (-11.63%)
Mutual labels:  fish
flock-ai-ue4-plugin
A fish flock AI plugin for Unreal Engine 4. 一个基于虚幻4的鱼群 AI 插件.
Stars: ✭ 91 (+111.63%)
Mutual labels:  fish
dotfiles
Dotfiles for Neovim (0.7+), Fish shell, git, Kitty, tmux, and more.
Stars: ✭ 54 (+25.58%)
Mutual labels:  fish
fishrc
Fish shell customizations
Stars: ✭ 16 (-62.79%)
Mutual labels:  fish
fish-color-scheme-switcher
A fish shell 🐟 plugin to switch color schemes 🌈
Stars: ✭ 48 (+11.63%)
Mutual labels:  fish
fish
Fish config with awesome flexible prompt, unicode symbols, better fzf integration and lot of handy functions.
Stars: ✭ 27 (-37.21%)
Mutual labels:  fish
FSA
FSA (Fisheries Stock Assessment) package provides R functions to conduct typical introductory fisheries analyses.
Stars: ✭ 54 (+25.58%)
Mutual labels:  fish
dotfiles
Poom's Neovim, Tmux, Fish and other configurations for macOS & Linux. Literally my entire world.
Stars: ✭ 36 (-16.28%)
Mutual labels:  fish
ambient
What can a public hotspot tell you?
Stars: ✭ 57 (+32.56%)
Mutual labels:  fish
dotfiles
Personal dotfiles for my Arch / BSPWM install.
Stars: ✭ 46 (+6.98%)
Mutual labels:  fish
dotfiles
macOS / Linux / Codespaces dotfiles with 1-line setup script. Tested on Apple Silicon Macs. Supports both zsh and fish. Now managed with https://github.com/twpayne/chezmoi
Stars: ✭ 82 (+90.7%)
Mutual labels:  fish
AwsTerm
A collection of awesome terminal utilities
Stars: ✭ 37 (-13.95%)
Mutual labels:  fish
sponge
🧽 Clean fish history from typos automatically
Stars: ✭ 69 (+60.47%)
Mutual labels:  fish
dotfiles
My work setup
Stars: ✭ 14 (-67.44%)
Mutual labels:  fish

About

Config files for various tools I use, or have used in the past, such as fish, git, jed, and Visual Studio Code.

It's very unlikely that anyone will want to use this directly; the more interesting directories are:

  • fish - configuration and startup files for fish shell.
  • bin - bash scripts for various things.
  • fish functions - more scripts, generally those that are awkward/impossible to write in bash.
  • etc/git/templates - git hooks
  • docker - Dockerfile

The idempotent install script handles a few different operating systems and package managers (past and present) has a some interesting constructions that may be useful.

Prerequisites

Getting locale-related errors when going through these steps?

  1. Generate missing locales: locale-gen en_GB.UTF-8

git

Ubuntu OS X
sudo apt-get install git-core xcode-select --install (or install Xcode)

No sudo? (If, for example, you're on a Gandi VPS.)

  1. Login as root: ssh root@server
  2. Install sudo: apt-get install sudo
  3. Edit /etc/sudoers: visudo
  4. Add the line: mjs ALL=(ALL) NOPASSWD:ALL

fish

Ubuntu

sudo apt-get install fish

OS X

Via brew:

brew install fish
# add fish's full path to /etc/shells
chsh -s /full/path/to/fish

Don't already have brew?

If you want to install into /usr/local ...

See http://brew.sh.

If you want to install somewhere else ...

See alternative installs. (Installing into ~/local/homebrew, and symlinking brew into ~/local/homebrew/bin might be a good option.)

Note that the binaries are symlinked into whatever directory brew is installed into. (So if brew is symlinked into /usr/local/bin, then all executables installed by brew will be symlinked into there as well.) This can be useful if you want to install brew in your home directory, but symlink binaries into /usr/local/bin.

Other Platforms

See http://fishshell.com/.

Installation

$ cd $HOME
$ git clone https://github.com/ithinkihaveacat/dotfiles.git .dotfiles
$ cd $HOME/.dotfiles
# Pull from ro repo, push to rw
$ git remote set-url origin --push [email protected]:ithinkihaveacat/dotfiles.git
$ ./update                                 # if macOS and brew in PATH
$ PATH=~/local/homebrew/bin:$PATH ./update # if macOS and brew not in PATH
# On OS X, logout and login again

Note that update may be destructive—if you have "unmanaged" files in locations such as ~/Library/KeyBindings or ~/Library/Fonts, they will be wiped out!

(Though it is safe to run update multiple times.)

Manual Changes

All Platforms

jed

If you have problems installing jed from packages, it can be installed manually via something like:

# slang
wget http://www.jedsoft.org/snapshots/slang-pre2.3.1-40.tar.gz
# extract
./configure --prefix=$HOME/local --libdir=$HOME/local/homebrew/lib --includedir=$HOME/local/homebrew/include --without-x --without-png
make
make install

# jed
wget http://www.jedsoft.org/snapshots/jed-pre0.99.20-111.tar.gz
# extract
./configure --prefix=$HOME/local --libdir=$HOME/local/homebrew/lib --includedir=$HOME/local/homebrew/include --without-x
make
make install

macOS

(See this script for some tips on how to change some of these settings automatically.)

Configure Terminal

Import the [etc/Solarized Dark.terminal](etc/Solarized Dark.terminal) profile, and set it to the "default". (See this script for some information on how to do this automatically.)

Configure keyboard

  • Open System Preferences > Keyboard
    • Open Shortcuts > Services > File and Folders, enable "New Terminal at Folder".
    • Open Text, disable "Correct spelling automatically".

Add Lock Screen option to Menu Bar

Configure via "Keychain Access" preferences.

Add Volume Controls to Menu Bar

Configure via the "Sound" system preference panel.

Disable local Time Machine backups

$ sudo tmutil disablelocal

Install "Network Link Conditioner"

https://developer.apple.com/download/more/?q=Additional%20Tools

This provides a way to simulate degraded network conditions (more info).

Install GitHub theme for iA Writer

See https://ia.net/writer/templates/.

Disable Hot Corners

Via System Preferences.

Install optional fonts

See https://typography.guru/journal/awesome-catalina-fonts/.

Ubuntu

Emacs Keybindings

Get emacs keybindings across all gtk apps (source):

$ gsettings set org.gnome.desktop.interface gtk-key-theme "Emacs"

Compose Key

Set the compose key to Caps Lock so that you can e.g. hold down Caps Lock and type --- to get an mdash.

Fonts

Open "System Settings", change the fonts as below:

Fonts

Terminal

Change Colour Scheme

Run the following gconftool commands to set Solarized colours correctly:

http://stackoverflow.com/a/7734960

Change Font

Use "Profile Preferences" to change the default font.

Make Alt Available

Open "Keyboard Shortcuts" and unselect "Enable menu access keys". (Otherwise Alt is used for accessing the menu.)

Change Size

Edit "Default" profile, change custom default terminal size to 100 columns, 60 rows.

Manually Installing Binaries?

Put them in ~/local/bin, and man pages (if you have them) in ~/local/share/man/man?. (man --path lists the man page search path.)

Author

[email protected]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].