Giter VIP home page Giter VIP logo

dotfiles's Introduction

Dotfiles

My dotfiles


This repository contains the configuration files I use on Linux computers (only tested on Fedora as of 2024).

Getting started

Clone the repository:

$ git clone [email protected]:tylucaskelley/dotfiles

Next, either copy files manually to your home directory, or use the provided copy script:

$ cd dotfiles && ./copy

It will prompt you to copy each file individually, so that no unexpected changes are made.

Neovim configuration

For my Neovim configuration, check out my nvim repository.

License

Copyright (c) 2014-2024 Ty-Lucas Kelley. MIT License.

dotfiles's People

Contributors

lararosekelley avatar

Stargazers

Tuan Duc Tran avatar Hugh Cameron avatar Amine avatar Art Dev avatar  avatar  avatar  avatar  avatar Jason P. Scharf avatar Victor Rachieru avatar Serdar Ormanlı avatar Michael Leonard avatar Ralph Caraveo avatar Karl Jensen avatar Marc Laugharn avatar Yuri Niyazov avatar Justin MacCarthy avatar Roberto Salas avatar Khoa Chau avatar Predrag Gruevski avatar  avatar  avatar Johan Ackerman avatar eg avatar Matan Silver avatar  avatar Kevin Bohinski avatar Lauren McCarty avatar quidesign avatar Liam Kelly avatar Sean Costello avatar Julie Engel avatar Jake Tobin avatar Luciano Bonachela avatar Colby Terry avatar Jeff Kingyens avatar Avi Sachdev avatar Mike Urich avatar John Ward avatar Blake Watters avatar Michael Rivera avatar Christopher Bebry avatar Joshua Moore avatar Mathieu Wang avatar Muntasir Syed avatar David Furlong avatar Jack Valinsky avatar Saul Shanabrook avatar

Watchers

James Cloos avatar  avatar  avatar

dotfiles's Issues

Implement https://github.com/sstephenson/bats

Submit a feature request or bug report

Replace any "X" with your information. Before you submit an issue,
check to see if this issue has already been reported.

Any questions should be directed to @tylucaskelley.


Is this a request for a feature or a bug report?

Feature

What is the current behavior?

No automated testing exists

If this is a bug report, please provide steps to reproduce:

N/A

What is the expected or desired behavior?

Automated testing to make sure everything works properly without having to manually install scripts

Please provide use cases for changing the current behavior:

Quality assurance for scripts, and making sure everything works together

Please describe your development environment (OS, browser, etc.):

macOS 10.12

Other relevant information:

N/A

Installation error dump 9/12/2017

Here's everything that went wrong when I reset my laptop (macOS Sierra, 2016 Touch Bar 13" Pro):

  1. Medis is an App Store download, not brew cask - remove it
  2. No longer need to manually install CLI tools - Brew does that for you
  3. Java install failed - need to look into that more
  4. A few taps no longer needed - homebrew/versions and homebrew/binaries
  5. Vapor not available as brew package - remove it
  6. Some python packages failed to install - chalking this one up to slow internet though. Internet was very bad.

Vim issues

  • Tab key issues - need to be able to insert a tab; might have to switch back to a different autocomplete trigger if can't work around it
  • Investigate slowness on file loading and saving - probably has to do with Syntastic; SCSS files are particularly unusable
  • Eliminate as many plugins as possible

unable to launch terminal or iterm2 after running script

I had a prior setup for a few months with dotfiles and such. Running the script made me unable to launch the terminal or iterm2 until I changed the default shell to /bin/bash from /usr/local/bin/bash, which must have been set by the script. I don't particularly know what this means, but let me know if you need any more information.

Sudo Permissions

Please correct me if I'm wrong but you give the whole script sudo capabilities, meaning that later on you have to use root permission to modify almost any file created by the script, am I wrong ?

Thanks in advance ! ✌️

Remove duplicate brew installs

Submit a feature request or bug report

Replace any "X" with your information. Before you submit an issue,
check to see if this issue has already been reported.

Any questions should be directed to @tylucaskelley.


Is this a request for a feature or a bug report?

Bug report

What is the current behavior?

There are a lot of packages that are installed twice via Brew due to dependencies. Add a check to the brew_install function to make sure that duplicates are dealt with better

If this is a bug report, please provide steps to reproduce:

Run script and pay attention to brew output.

What is the expected or desired behavior?

No errors.

Please provide use cases for changing the current behavior:

Clean up error logs

Please describe your development environment (OS, browser, etc.):

macOS 10.12.3

Other relevant information:

N/A

iTerm2

Switch over to iTerm2. WIll need:

  • Gruvbox theme
  • In vim, set termguicolors
  • iTerm2 settings export once set up nicely

Add post-install checks to make sure all files exist and programs installed

Submit a feature request or bug report

Replace any "X" with your information. Before you submit an issue,
check to see if this issue has already been reported.

Any questions should be directed to @tylucaskelley.


Is this a request for a feature or a bug report?

Feature request

What is the current behavior?

There's no verification that everything worked once the script exits

If this is a bug report, please provide steps to reproduce:

N/A

What is the expected or desired behavior?

After installation, tests defined via the BATS testing system will run to make sure that the following is true:

  1. All files expected to exist exist
  2. All installed programs are there

Please provide use cases for changing the current behavior:

To prevent the need to manually test this every time I update it

Please describe your development environment (OS, browser, etc.):

macOS 10.12, Bash 4.4

Other relevant information:

N/A

Force XQuartz install for vim

Simply need to add a brew cask install xquartz if user hasn't installed XQaurtz already so that the client-server feature works.

Fix tmux uptime command

This one seems to work on work laptop - uptime | sed -E 's/.*\(up.*\), [[:digit:]]+ user.*/\\1/' | tr -d 'up '

Note that the backslashes and parentheses have been escaped to make the command work in tmux

Eclim setup

.eclimrc should look like this:

# Specifies the workspace directory to use
[email protected]/.eclipse-workspace

# increase heap size
-Xmx256M

Eclim for vim setup

Need to do the following:

  1. Install java, eclipse-java via brew cask
  2. Install ant, make, gcc via brew
  3. Install eclim:
$ mkdir ~/.eclim
$ cd ~/.eclim
$ ant -Declipse.home=$ECLIPSE_HOME
  1. Eclim needs to run in the background when vim is running to work

Add flag for performing a dry run for testing

Submit a feature request or bug report

Replace any "X" with your information. Before you submit an issue,
check to see if this issue has already been reported.

Any questions should be directed to @tylucaskelley.


Is this a request for a feature or a bug report?

Feature request

What is the current behavior?

Impossible to check what the output looks like without actually running the scripts. Would be nice to do a dry run so I can work on making the output nicer

If this is a bug report, please provide steps to reproduce:

N/A

What is the expected or desired behavior?

N/A

Please provide use cases for changing the current behavior:

Useful for UI development

Please describe your development environment (OS, browser, etc.):

macOS 10.13

Other relevant information:

N/A

Better logging output

Logging output at end should contain more useful information. For example, brew cask install virtualbox requires you to go to System Preferences > Security & Privacy > General to allow it's kernel extension, which appears to only be capable via GUI.

add scala to brew installs

Submit a feature request or bug report

Replace any "X" with your information. Before you submit an issue,
check to see if this issue has already been reported.

Any questions should be directed to @tylucaskelley.


Is this a request for a feature or a bug report?

X

What is the current behavior?

X

If this is a bug report, please provide steps to reproduce:

X

What is the expected or desired behavior?

X

Please provide use cases for changing the current behavior:

X

Please describe your development environment (OS, browser, etc.):

X

Other relevant information:

X

Clean up atom setup

Delete unneeded packages, add good ones like terminal-plus, work on theme more

Version 2.0 Checklist

This will be a complete re-write! Moving from Bash to Python in most places, publishing to PyPi, a real CLI, a test suite, configuration options, and more. With that comes a lot of stuff to do:

Development

General

  • Logging and other helper utilities
  • Come up with option groups and figure out which features of my setup go into them, and which features should be a part of the base installation
  • Support dotfile templates

Dotfiles

  • Support for string templates so that dotfiles can include or exclude code based on user choices
  • Get latest dotfiles from my setup

Vim/Neovim, Tmux, iTerm

  • Switch everything over to Neovim but keep .vimrc as main config file
  • Tmux and iTerm require some additional setup (installing TPM plugins, loading iTerm config), so just take care to make sure that all happens smoothly

Package Installation

  • Related to option groups; decide on what languages, if any, are required, how they should be installed (rvm vs rbenv, etc), and what packages should be installed by default (if any)
  • Support more languages, and support current ones better (outside of node and python support is weak right now)

Interface

  • Decide on click framework vs other options
  • Decide on balance between CLI flags (good for automated testing) vs. amount of in-app options

Test Suite

  • 100% code coverage
  • See what can be tested given need for user password input
  • Travis CI possible??

Misc.

  • Nice logo
  • Advertise a lot on Hacker News, FB groups, etc.

Handle Homebrew failure better

Example: If homebrew is already installed, doesn't have the correct permissions, the script keeps running and failing everywhere.

Need to stop running the script if something goes wrong with brew

Cargo fails to install

Submit a feature request or bug report

Replace any "X" with your information. Before you submit an issue,
check to see if this issue has already been reported.

Any questions should be directed to @tylucaskelley.


Is this a request for a feature or a bug report?

Bug report

What is the current behavior?

Cargo does not install properly via Cask

If this is a bug report, please provide steps to reproduce:

Accept the rust install prompt

What is the expected or desired behavior?

Cargo installs

Please provide use cases for changing the current behavior:

Please describe your development environment (OS, browser, etc.):

X

Other relevant information:

X

Add Git hooks

Submit a feature request or bug report

Replace any "X" with your information. Before you submit an issue,
check to see if this issue has already been reported.

Any questions should be directed to @tylucaskelley.


Is this a request for a feature or a bug report?

Feature

What is the current behavior?

No git hooks

If this is a bug report, please provide steps to reproduce:

N/A

What is the expected or desired behavior?

Git hooks to ensure:

  1. Automated tests are run
  2. Shellcheck passes
  3. File tree is correct
  4. No pushes to master

Please provide use cases for changing the current behavior:

QA

Please describe your development environment (OS, browser, etc.):

macOS 10.12

Other relevant information:

n/a

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.